Permalink
Browse files

Variables passed by reference warning is out !!

  • Loading branch information...
1 parent 4712035 commit 2b968407695c8bb524fb622cfac42b69a733a0a5 stronk7 committed Jul 31, 2003
Showing with 2 additions and 2 deletions.
  1. +1 −1 backup/restore_execute.html
  2. +1 −1 backup/restorelib.php
@@ -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
@@ -1532,7 +1532,7 @@ function restore_read_xml ($xml_file,$todo,$preferences) {
$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

0 comments on commit 2b96840

Please sign in to comment.