mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-25981'
This commit is contained in:
commit
46df3c6059
14 changed files with 1415 additions and 410 deletions
|
@ -2181,7 +2181,8 @@ function navmenulist($course, $sections, $modinfo, $strsection, $strjumpto, $wid
|
|||
|
||||
$menu[] = '<ul class="navmenulist"><li class="jumpto section"><span>'.$strjumpto.'</span><ul>';
|
||||
foreach ($modinfo->cms as $mod) {
|
||||
if ($mod->modname == 'label') {
|
||||
if (!$mod->has_view()) {
|
||||
// Don't show modules which you can't link to!
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue