Skip to content

Commit ed97a06

Browse files
committed
Removing E_NOTICE
1 parent fb93c9b commit ed97a06

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

main/inc/lib/myspace.lib.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ public static function display_tracking_user_overview()
301301

302302
public static function display_tracking_coach_overview($export_csv)
303303
{
304+
global $charset;
305+
304306
if ($export_csv) {
305307
$is_western_name_order = api_is_western_name_order(PERSON_NAME_DATA_EXPORT);
306308
} else {

main/inc/lib/sortable_table.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,9 @@ public function filter_data($row)
901901
{
902902
$url_params = $this->get_sortable_table_param_string().'&'.$this->get_additional_url_paramstring();
903903
foreach ($this->column_filters as $column => & $function) {
904-
$row[$column] = call_user_func($function, $row[$column], $url_params, $row);
904+
$firstParam = isset($row[$column]) ? $row[$column] : 0;
905+
906+
$row[$column] = call_user_func($function, $firstParam, $url_params, $row);
905907
}
906908
if (count($this->form_actions) > 0) {
907909
if (strlen($row[0]) > 0) {

0 commit comments

Comments
 (0)