projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0edb4b2
)
BUGFIX: one email message still had a hard-coded header
author
Arun Persaud
<arun@nubati.net>
Tue, 12 May 2009 05:18:42 +0000
(22:18 -0700)
committer
Arun Persaud
<arun@nubati.net>
Tue, 12 May 2009 05:18:42 +0000
(22:18 -0700)
this resulted in two "hello" lines being sent out. fixed
include/cancelgame.php
patch
|
blob
|
history
diff --git
a/include/cancelgame.php
b/include/cancelgame.php
index b0b4db9ba392bd1babc919d86deccf048f2b9056..22be185608c9445cc963199b316b08beba7cd1e4 100644
(file)
--- 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 */