BUGFIX: two greetings messages in cancelation email for five nines.
[e-DoKo.git] / include / game.php
index a11e6b6eb48d64c56370b2c497dcfbaeb402e753..5c367e954891bdcc3b583ee0926e854477e37233 100644 (file)
@@ -589,11 +589,10 @@ switch($mystatus)
        else if($nines)
          {
            /* cancel game */
        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)
 
            $userids = DB_get_all_userid_by_gameid($gameid);
            foreach($userids as $user)