projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51312ac
)
fixed possible bug with emailing next player
author
arun
<arun@nubati.net>
Wed, 13 Dec 2006 17:43:21 +0000
(17:43 +0000)
committer
arun
<arun>
Wed, 13 Dec 2006 17:43:21 +0000
(17:43 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 689a8ceeb161c98c235ffea3221f58876c2f1b8f..a3b0891875dd7433785027e16ba301bf3848b913 100644
(file)
--- 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);
$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);
"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";
if($debug)
echo "DEBUG:<a href=\"index.php?me=".DB_get_hash_from_game_and_pos($gameid,$next).
"\"> next player </a> <br />\n";