Merge branch 'm24_MDL-40260' of git://github.com/danmarsden/moodle into MOODLE_24_STABLE
This commit is contained in:
@@ -106,7 +106,7 @@ class block_course_overview_renderer extends plugin_renderer_base {
|
||||
|
||||
// No need to pass title through s() here as it will be done automatically by html_writer.
|
||||
$attributes = array('title' => $course->fullname);
|
||||
if (empty($course->visible)) {
|
||||
if (empty($course->visible) && ($course->id > 0)) {
|
||||
$attributes['class'] = 'dimmed';
|
||||
}
|
||||
if ($course->id > 0) {
|
||||
|
||||
Reference in New Issue
Block a user