]> git.mjollnir.org Git - moodle.git/commitdiff
Clear a variable, just in case
authormoodler <moodler>
Thu, 17 Apr 2003 15:46:39 +0000 (15:46 +0000)
committermoodler <moodler>
Thu, 17 Apr 2003 15:46:39 +0000 (15:46 +0000)
course/topics.php

index 7f2970d737f9d3ce47bbd5b77b22a18c15e9d945..b7abd75d8e80388a21996f4c5446e2668a0b73f3 100644 (file)
             $thissection = $sections[$section];
 
         } else {
+            unset($thissection);
             $thissection->course = $course->id;   // Create a new section structure
             $thissection->section = $section;
             $thissection->summary = "";