Permalink
Browse files

MDL-40260 block_course_overview: prevent MNET courses from being dimmed

  • Loading branch information...
1 parent 2c66b71 commit 4fae47dedcc01244784257de9f2bd7d88bb8d4d8 Daniel Myers committed with danmarsden Jul 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/course_overview/renderer.php
@@ -106,7 +106,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 4fae47d

Please sign in to comment.