From: arun Date: Wed, 13 Dec 2006 17:43:21 +0000 (+0000) Subject: fixed possible bug with emailing next player X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec84028d1c71200da12525df005774810b5dcd8;p=e-DoKo.git fixed possible bug with emailing next player --- diff --git a/index.php b/index.php index 689a8ce..a3b0891 100644 --- a/index.php +++ b/index.php @@ -465,10 +465,10 @@ else if(isset($_REQUEST["me"])) $next_hash = DB_get_hash_from_game_and_pos($gameid,$next); $email = DB_get_email_by_hash($next_hash); - $message .= "It's your turn now.\n". + $message = "It's your turn now.\n". "Use this link to play a card: ".$host."?me=".$next_hash."\n\n" ; mymail($email,"[DoKo-debug] a card has been played",$message); - + if($debug) echo "DEBUG: next player
\n";