summaryrefslogtreecommitdiffstats
path: root/include/newgame.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-05-11 17:39:16 -0700
committerArun Persaud <arun@nubati.net>2009-05-11 17:39:16 -0700
commit71c96bf3223f2d3cc63581d93de3bbff43ea7a99 (patch)
treef01fc7c97a339fa601fdd2eba64d3db8039da65a /include/newgame.php
parent03d6cd5ba13a0aac918734c1f797df4f149d9194 (diff)
downloade-DoKo-71c96bf3223f2d3cc63581d93de3bbff43ea7a99.tar.gz
e-DoKo-71c96bf3223f2d3cc63581d93de3bbff43ea7a99.tar.bz2
e-DoKo-71c96bf3223f2d3cc63581d93de3bbff43ea7a99.zip
BUGFIX: some email messages had newlines missing before the footer
all emails now have a "\n\n" at the end of the message.
Diffstat (limited to 'include/newgame.php')
-rw-r--r--include/newgame.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/newgame.php b/include/newgame.php
index 7d77612..b41dc8b 100644
--- a/include/newgame.php
+++ b/include/newgame.php
@@ -178,14 +178,14 @@ else
"$PlayerB\n".
"$PlayerC\n".
"$PlayerD\n\n".
- "If you want to join this game, please follow this link:\n\n".
+ "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);
- mymail($useridB,$subject, $message.$hashB);
- mymail($useridC,$subject, $message.$hashC);
- mymail($useridD,$subject, $message.$hashD);
+ 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");
echo "<div class=\"message\">You started a new game. The emails have been sent out!</div>\n";
display_user_menu($myid);