From cdee8a3e86f57ac0ace7fad8612b0b809b9d08a4 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 2 Mar 2008 22:59:37 -0800 Subject: [PATCH] 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 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index c3988b5..d0d9eef 100644 --- a/index.php +++ b/index.php @@ -1747,9 +1747,9 @@ else if(myisset("me")) $score = generate_score_table($session); /* convert html to ascii */ $score = str_replace("
\n\n \n","",$score); + $score = str_replace("
\n","",$score); $score = str_replace("\n","",$score); $score = str_replace(array("","","",""),array("","\n","","|"),$score); - $score = str_replace("\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 */ -- 2.25.1