From: Arun Persaud Date: Fri, 29 May 2009 20:11:00 +0000 (-0700) Subject: BUGFIX: two greetings messages in cancelation email for five nines. X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=8866e45d0593dc0564ad8fb4ecfe108f413eaffb BUGFIX: two greetings messages in cancelation email for five nines. removed the hard-coded one. --- 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)