From 5d8e85ce8d71532d9adbdac2653d7c092a7157f2 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 11 May 2009 22:18:42 -0700 Subject: BUGFIX: one email message still had a hard-coded header this resulted in two "hello" lines being sent out. fixed --- include/cancelgame.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- cgit v1.2.3-18-g5258