diff options
Diffstat (limited to 'include/newgame.php')
-rw-r--r-- | include/newgame.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/newgame.php b/include/newgame.php index 4e9deaf..68e0d15 100644 --- a/include/newgame.php +++ b/include/newgame.php @@ -200,11 +200,10 @@ else "If you want to join this game, please follow this link:\n". "".$HOST.$INDEX."?action=game&me="; - $subject = 'You are invited to a game of DoKo (game '.DB_format_gameid($gameid).')'; - mymail($useridA,$subject, $message.$hashA."\n\n"); - mymail($useridB,$subject, $message.$hashB."\n\n"); - mymail($useridC,$subject, $message.$hashC."\n\n"); - mymail($useridD,$subject, $message.$hashD."\n\n"); + mymail($useridA, $gameid, GAME_NEW, $message.$hashA."\n\n"); + mymail($useridB, $gameid, GAME_NEW, $message.$hashB."\n\n"); + mymail($useridC, $gameid, GAME_NEW, $message.$hashC."\n\n"); + mymail($useridD, $gameid, GAME_NEW, $message.$hashD."\n\n"); echo "<div class=\"message\">You started a new game. The emails have been sent out!</div>\n"; display_user_menu($myid); |