MDL-14295 - reverting commit, fixed by MDL14293
This commit is contained in:
@@ -1837,7 +1837,6 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user