From d19e4849e92a6a14d2e98625d1e055354468cfd2 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 15 Oct 2015 16:05:30 -0500 Subject: [PATCH] Minor - Avoid notices in tracking pages --- main/inc/lib/myspace.lib.php | 8 ++++---- main/mySpace/course.php | 2 +- main/tracking/exams.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main/inc/lib/myspace.lib.php b/main/inc/lib/myspace.lib.php index cf27eb30bf..8e03832dc7 100644 --- a/main/inc/lib/myspace.lib.php +++ b/main/inc/lib/myspace.lib.php @@ -465,8 +465,8 @@ class MySpace if ($is_western_name_order) { $csv_content[] = array( - api_html_entity_decode($coaches['firstname'], ENT_QUOTES, $charset), - api_html_entity_decode($coaches['lastname'], ENT_QUOTES, $charset), + api_html_entity_decode($coaches['firstname'], ENT_QUOTES), + api_html_entity_decode($coaches['lastname'], ENT_QUOTES), $time_on_platform, $last_connection, $nb_students, @@ -475,8 +475,8 @@ class MySpace ); } else { $csv_content[] = array( - api_html_entity_decode($coaches['lastname'], ENT_QUOTES, $charset), - api_html_entity_decode($coaches['firstname'], ENT_QUOTES, $charset), + api_html_entity_decode($coaches['lastname'], ENT_QUOTES), + api_html_entity_decode($coaches['firstname'], ENT_QUOTES), $time_on_platform, $last_connection, $nb_students, diff --git a/main/mySpace/course.php b/main/mySpace/course.php index 92fa96a709..c59353f0df 100755 --- a/main/mySpace/course.php +++ b/main/mySpace/course.php @@ -108,7 +108,7 @@ if (api_is_drh() || api_is_session_admin() || api_is_platform_admin()) { } } - $actionsLeft = ''; + $actionsLeft = $actionsRight = ''; $nb_menu_items = count($menu_items); if ($nb_menu_items > 1) { foreach ($menu_items as $key => $item) { diff --git a/main/tracking/exams.php b/main/tracking/exams.php index 84f84238ea..3d7393fc35 100755 --- a/main/tracking/exams.php +++ b/main/tracking/exams.php @@ -81,7 +81,7 @@ $form->setDefaults(array('score' => $filter_score)); if (!$exportToXLS) { Display :: display_header(get_lang('Reporting')); - $actionsLeft = ''; + $actionsLeft = $actionsRight =''; if ($global) { $actionsLeft .= ''.