Skip to content

Commit

Permalink
theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true caus…
Browse files Browse the repository at this point in the history
…es a php notice
  • Loading branch information
tjhunt committed Feb 3, 2009
1 parent 2d3799b commit 9179287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5480,7 +5480,7 @@ function navmenulist($course, $sections, $modinfo, $strsection, $strjumpto, $wid
$mod->name = '('.$mod->name.')';
}
$class = 'activity '.$mod->modname;
$class .= ($cmid == $mod->cm) ? ' selected' : '';
$class .= ($cmid == $mod->id) ? ' selected' : '';
$menu[] = '<li class="'.$class.'">'.
'<img src="'.$CFG->modpixpath.'/'.$mod->modname.'/icon.gif" alt="" />'.
'<a href="'.$CFG->wwwroot.'/mod/'.$url.'">'.$mod->name.'</a></li>';
Expand Down

0 comments on commit 9179287

Please sign in to comment.