From: arborrow Date: Wed, 9 Apr 2008 23:46:12 +0000 (+0000) Subject: MDL-14295 - initiate $status to avoid PHP notice X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5f1cdfbc2a0f949d3ca73df94bec751732831fc5;p=moodle.git MDL-14295 - initiate $status to avoid PHP notice --- diff --git a/course/lib.php b/course/lib.php index a1325baef9..4f1404b02e 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1843,6 +1843,7 @@ function print_courses($category) { function print_course($course) { global $CFG, $USER; + $status = ''; //initiate $status variable to avoid PHP notice see MDL-14295 if (isset($course->context)) { $context = $course->context;