Variables passed by reference warning is out !!

This commit is contained in:
stronk7 2003-07-31 16:44:52 +00:00
parent 4712035bec
commit 2b96840769
2 changed files with 2 additions and 2 deletions

View File

@ -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>";

View File

@ -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