From: moodler Date: Thu, 17 Apr 2003 15:46:39 +0000 (+0000) Subject: Clear a variable, just in case X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a00283d6cdf40b9810772a2f263c694b6a05c3b2;p=moodle.git Clear a variable, just in case --- diff --git a/course/topics.php b/course/topics.php index 7f2970d737..b7abd75d8e 100644 --- a/course/topics.php +++ b/course/topics.php @@ -150,6 +150,7 @@ $thissection = $sections[$section]; } else { + unset($thissection); $thissection->course = $course->id; // Create a new section structure $thissection->section = $section; $thissection->summary = "";