From 5f1cdfbc2a0f949d3ca73df94bec751732831fc5 Mon Sep 17 00:00:00 2001 From: arborrow Date: Wed, 9 Apr 2008 23:46:12 +0000 Subject: [PATCH] MDL-14295 - initiate $status to avoid PHP notice --- course/lib.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5