diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 4f33f1e..3a650a2 100644 --- a/functions.php +++ b/functions.php @@ -9,7 +9,6 @@ function mymail($To,$Subject,$message,$header="") $message = str_replace("\n","<br />\n",$message); $message = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "<a href=\"\\0\">\\0</a>", $message); - //$message = ereg_replace("(http.*)[ <>]","<a href=\"\\1\">\\1 </a>",$message); echo "<br />To: $To<br />"; if($header != "") @@ -688,7 +687,7 @@ function can_call($what,$hash) switch ($RULES["call"]) { case "1st-own-card": - if( 4-($what/30) >= 12 - $NRcards + $offset) + if( 4-($what/30) >= 12 - ($NRcards + $offset)) return 1; break; case "5th-card": |