Skip to content

Commit

Permalink
MDL-37085 bug fix with glued together class names
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and danpoltawski committed Jan 17, 2013
1 parent 361dfe6 commit 8df0765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ public function course_section_cm_list($course, $section, $sectionreturn = null,
}

$mod = $modinfo->cms[$modnumber];
$modclasses = 'activity '. $mod->modname. 'modtype_'.$mod->modname. ' '. $mod->get_extra_classes();
$modclasses = 'activity '. $mod->modname. ' modtype_'.$mod->modname. ' '. $mod->get_extra_classes();
$output .= html_writer::start_tag('li', array('class' => $modclasses, 'id' => 'module-'. $mod->id));
$output .= $modulehtml;
$output .= html_writer::end_tag('li');
Expand Down

0 comments on commit 8df0765

Please sign in to comment.