From: Arun Persaud Date: Tue, 12 May 2009 05:18:42 +0000 (-0700) Subject: BUGFIX: one email message still had a hard-coded header X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=5d8e85ce8d71532d9adbdac2653d7c092a7157f2;ds=inline BUGFIX: one email message still had a hard-coded header this resulted in two "hello" lines being sent out. fixed --- diff --git a/include/cancelgame.php b/include/cancelgame.php index b0b4db9..22be185 100644 --- a/include/cancelgame.php +++ b/include/cancelgame.php @@ -36,8 +36,7 @@ $myname = DB_get_name('hash',$me); $r = DB_query_array("SELECT mod_date from Game WHERE id='$gameid' " ); if(time()-strtotime($r[0]) > 60*60*24*30) /* = 1 month */ { - $message = "Hello, \n\n". - "Game ".DB_format_gameid($gameid). + $message = "Game ".DB_format_gameid($gameid). " has been canceled since nothing happend for a while and $myname requested it.\n\n"; /* email to all players */