diff options
author | Arun Persaud <arun@nubati.net> | 2008-03-02 22:59:37 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-03-02 22:59:37 -0800 |
commit | cdee8a3e86f57ac0ace7fad8612b0b809b9d08a4 (patch) | |
tree | 4069e39427a2eb861fff4da0f02a6e7d83c6db3f | |
parent | fc2fadb0033767d7e75ff501af60b6120f982f77 (diff) | |
download | e-DoKo-cdee8a3e86f57ac0ace7fad8612b0b809b9d08a4.tar.gz e-DoKo-cdee8a3e86f57ac0ace7fad8612b0b809b9d08a4.tar.bz2 e-DoKo-cdee8a3e86f57ac0ace7fad8612b0b809b9d08a4.zip |
BUGFIX: Score table in email displayed some html
had two str_replace functions in the wrong order, should be fixed now.
Signed-off-by: Arun Persaud <arun@nubati.net>
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1747,9 +1747,9 @@ else if(myisset("me")) $score = generate_score_table($session); /* convert html to ascii */ $score = str_replace("<div class=\"scoretable\">\n<table class=\"score\">\n <tr>\n","",$score); + $score = str_replace("</table></div>\n","",$score); $score = str_replace("\n","",$score); $score = str_replace(array("<tr>","</tr>","<td>","</td>"),array("","\n","","|"),$score); - $score = str_replace("</table></div>\n","",$score); $score = explode("\n",$score); $header = array_slice($score,0,1); @@ -1772,7 +1772,7 @@ else if(myisset("me")) $score = implode("\n",$score); $score = $header.$score; - $message .= "Score Table\n"; + $message .= "Score Table:\n"; $message .= $score; /* send out final email */ |