summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-05-29 13:11:00 -0700
committerArun Persaud <arun@nubati.net>2009-05-29 13:11:00 -0700
commit8866e45d0593dc0564ad8fb4ecfe108f413eaffb (patch)
treeb3c5bc30830c873d22bc23e507e34ba713cdb3a2
parente79efbc650588eb3e07d82c183b6d7b1c00502d8 (diff)
downloade-DoKo-8866e45d0593dc0564ad8fb4ecfe108f413eaffb.tar.gz
e-DoKo-8866e45d0593dc0564ad8fb4ecfe108f413eaffb.tar.bz2
e-DoKo-8866e45d0593dc0564ad8fb4ecfe108f413eaffb.zip
BUGFIX: two greetings messages in cancelation email for five nines.
removed the hard-coded one.
-rw-r--r--include/game.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/game.php b/include/game.php
index a11e6b6..5c367e9 100644
--- a/include/game.php
+++ b/include/game.php
@@ -589,11 +589,10 @@ switch($mystatus)
else if($nines)
{
/* cancel game */
- $message = "Hello, \n\n".
- " the game has been canceled because ".DB_get_name('userid',$nines).
- " has five or more nines and nobody is playing solo.\n\n".
- " To redeal either start a new game or, in case the game was part of a tournament, \n".
- " go to the last game and use the link at the bottom of the page to redeal.\n\n";
+ $message = "the game has been canceled because ".DB_get_name('userid',$nines).
+ "has five or more nines and nobody is playing solo.\n\n".
+ "To redeal either start a new game or, in case the game was part of a tournament,\n".
+ "go to the last game and use the link at the bottom of the page to redeal.\n\n";
$userids = DB_get_all_userid_by_gameid($gameid);
foreach($userids as $user)