From: stronk7 <stronk7> Date: Thu, 31 Jul 2003 16:44:52 +0000 (+0000) Subject: Variables passed by reference warning is out !! X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2b968407695c8bb524fb622cfac42b69a733a0a5;p=moodle.git Variables passed by reference warning is out !! --- diff --git a/backup/restore_execute.html b/backup/restore_execute.html index 07ee8533cb..b7ac5770e5 100644 --- a/backup/restore_execute.html +++ b/backup/restore_execute.html @@ -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>"; diff --git a/backup/restorelib.php b/backup/restorelib.php index 3c90eb7d9a..20c45a80b2 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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