diff --git a/course/lib.php b/course/lib.php index a6cb74bab79ac..620e519ba814a 100644 --- a/course/lib.php +++ b/course/lib.php @@ -913,7 +913,7 @@ function print_recent_activity($course) { } $cm = $modinfo->instances[$modname][$instanceid]; if (!$cm->uservisible) { - //continue; + continue; } if ($log->action == 'add mod') {