MDL-14295 - initiate $status to avoid PHP notice

This commit is contained in:
arborrow
2008-04-09 23:46:12 +00:00
parent 8f9272a4ff
commit 5f1cdfbc2a
+1
View File
@@ -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;