Browse Source

Remove E_NOTICE - refs BT#12441

Angel Fernando Quiroz Campos 8 years ago
parent
commit
c26f5d0f4d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      main/course_progress/thematic.php

+ 3 - 1
main/course_progress/thematic.php

@@ -165,7 +165,9 @@ if ($action == 'thematic_list') {
             } else {
                 $list['thematic_plan'] = $thematic_plan_div[$thematic['id']];
             }
-            $list['thematic_advance'] = $thematic_advance_data[$thematic['id']];
+            $list['thematic_advance'] = isset($thematic_advance_data[$thematic['id']])
+                ? $thematic_advance_data[$thematic['id']]
+                : null;
             $list['last_done'] = $last_done_thematic_advance;
             $list['toolbar'] = $toolbarThematic;
             $listThematic[] = $list;