Variables passed by reference warning is out !!
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
//Saving conversion id variables into backup_tables
|
||||
if ($restore->restoreto ==1) {
|
||||
echo "<li>".get_string("creatingnewcourse");
|
||||
$status = restore_create_new_course($restore,&$course_header);
|
||||
$status = restore_create_new_course($restore,$course_header);
|
||||
//Print course fullname and shortname and category
|
||||
if ($status) {
|
||||
echo "<ul>";
|
||||
|
||||
@@ -1532,7 +1532,7 @@
|
||||
$moodle_parser = new MoodleParser();
|
||||
$moodle_parser->todo = $todo;
|
||||
$moodle_parser->preferences = $preferences;
|
||||
xml_set_object($xml_parser,&$moodle_parser);
|
||||
xml_set_object($xml_parser,$moodle_parser);
|
||||
//Depending of the todo we use some element_handler or another
|
||||
if ($todo == "INFO") {
|
||||
//Define handlers to that zone
|
||||
|
||||
Reference in New Issue
Block a user