summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2006-12-13 17:43:21 +0000
committerarun <arun>2006-12-13 17:43:21 +0000
commitfec84028d1c71200da12525df005774810b5dcd8 (patch)
tree0680396bcf44693ae879a9fecf34fe3b997c2a55 /index.php
parent51312acc9682902810edee454471aae1ce59d80c (diff)
downloade-DoKo-fec84028d1c71200da12525df005774810b5dcd8.tar.gz
e-DoKo-fec84028d1c71200da12525df005774810b5dcd8.tar.bz2
e-DoKo-fec84028d1c71200da12525df005774810b5dcd8.zip
fixed possible bug with emailing next player
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
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:<a href=\"index.php?me=".DB_get_hash_from_game_and_pos($gameid,$next).
"\"> next player </a> <br />\n";