From e36df807ca0138e7a4eaecbeb3ff70c5dc69ed60 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 28 Apr 2008 07:21:37 +0200 Subject: [PATCH] [svn r15151] Fix an issue with character encoding in SCORM stats screen --- main/newscorm/lp_stats.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index 06bbe1f16f..b5e5994896 100644 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -239,7 +239,7 @@ foreach ($list as $my_item_id) else{ $correct_test_link='-'; } - $output .= "\n"."$extend_link\n".'
'.htmlentities($title)."
\n".''."\n".''."\n".''.$correct_test_link.''."\n"."\n"; + $output .= "\n"."$extend_link\n".'
'.htmlentities($title,ENT_QUOTES,$charset_lang)."
\n".''."\n".''."\n".''.$correct_test_link.''."\n"."\n"; } $counter ++; @@ -482,7 +482,7 @@ foreach ($list as $my_item_id) else{ $correct_test_link='-'; } - $output .= "\n"."$extend_link\n".'
'.htmlentities($title).'
'."\n" + $output .= "\n"."$extend_link\n".'
'.htmlentities($title,ENT_QUOTES,$charset_lang).'
'."\n" //."
".htmlentities($array_status[$lesson_status],ENT_QUOTES,$charset_lang)."
\n" .'
'.$my_lesson_status."
\n".'
'. ($score == 0 ? '-' : ($maxscore==0?$score:$score.'/'.$maxscore))."
\n".'
'.$time."
$correct_test_link\n"."\n"; @@ -593,4 +593,4 @@ if(!$export_csv) { echo $output; } -?> \ No newline at end of file +?>