MDL-31006 fix various notices in PHP54
PHP54 compatibility
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
ae924874d7
commit
b85b25ebb8
@@ -141,7 +141,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$thissection = $sections[$section];
|
||||
|
||||
} else {
|
||||
unset($thissection);
|
||||
$thissection = new stdClass();
|
||||
$thissection->course = $course->id; // Create a new week structure
|
||||
$thissection->section = $section;
|
||||
$thissection->name = null;
|
||||
|
||||
Reference in New Issue
Block a user