]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14295 - initiate $status to avoid PHP notice
authorarborrow <arborrow>
Wed, 9 Apr 2008 23:46:12 +0000 (23:46 +0000)
committerarborrow <arborrow>
Wed, 9 Apr 2008 23:46:12 +0000 (23:46 +0000)
course/lib.php

index a1325baef989838e6adf402048e228ed3d174caa..4f1404b02ed04fe98d00ea5b96d3dbc84e93ec91 100644 (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;