From f05a4a60616817402e99b5a27d7a28cc5e0fd048 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 8 Sep 2008 05:56:03 +0200 Subject: [PATCH] [svn r16261] Fix encoding problem in learning path statistics (see FS#2732) --- main/newscorm/lp_stats.php | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index fea8bbf564..bb7d3733ff 100644 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -52,12 +52,11 @@ if(!isset($origin)) if($origin != 'tracking') { if (!empty ($stats_charset)) { - $charset_lang = $stats_charset; + $lp_charset = $stats_charset; } else { - $charset_lang = api_get_setting('platform_charset'); + $lp_charset = api_get_setting('platform_charset'); } - $dokeos_charset = api_get_setting('platform_charset'); - $charset = $charset_lang; + $charset = $lp_charset; $w = $tablewidth -20; $htmlHeadXtra[] = ''.'