From: stronk7 Date: Wed, 14 Feb 2007 23:54:20 +0000 (+0000) Subject: PHP 4 assignment is by value so course_header (containing edited names) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=63013fb8048b77aea625081be1df46abd3558b8a;p=moodle.git PHP 4 assignment is by value so course_header (containing edited names) wasn't being modified. MDL-8298 Merged from MOODLE_18_STABLE --- diff --git a/backup/restore_check.html b/backup/restore_check.html index e8d55b38b5..d28cf701ec 100644 --- a/backup/restore_check.html +++ b/backup/restore_check.html @@ -26,6 +26,9 @@ $restore->course_startdateoffset = $coursestartdatedateoffset; //change to restore } + ///Enforce SESSION->course_header rewrite (PHP 4.x needed because assigns are by value) MDL-8298 + $SESSION->course_header = $course_header; + //If restore session info exists, but we are coming from the form //it has prioriry if (isset($restore) and !empty($fromform)) {