Commit 5f1cdfbc authored by arborrow's avatar arborrow
Browse files

MDL-14295 - initiate $status to avoid PHP notice

parent 8f9272a4
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment