Permalink
Browse files

MDL-40260 block_course_overview: prevent MNET courses from being dimmed

  • Loading branch information...
1 parent 07bbbcf commit e1d4d14c6e7e5054d21270fb6660f6bc05110444 Daniel Myers committed with danmarsden Jul 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/course_overview/renderer.php
@@ -103,7 +103,7 @@ public function course_overview($courses, $overviews) {
// 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) {

0 comments on commit e1d4d14

Please sign in to comment.