X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=functions.php;fp=functions.php;h=3a650a2d94ca3dadb31f418595a962b84d528719;hp=4f33f1e41c00019c5e569621f2193d14b2db6e03;hb=7128076b9409b55551f206d875218fc8f70bb273;hpb=44adf43ccb058fb76e7bdbb18917ca86a7f7ec29 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","
\n",$message); $message = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "\\0", $message); - //$message = ereg_replace("(http.*)[ <>]","\\1 ",$message); echo "
To: $To
"; 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":