Merged visibility fix from stable

This commit is contained in:
moodler 2004-10-02 15:29:49 +00:00
parent 170ed2a1cf
commit 4f91674c4b

View File

@ -116,6 +116,11 @@
continue;
}
$mod = $mods[$sectionmod];
if (empty($mod->visible)) {
continue;
}
$instance = get_record("$mod->modname", "id", "$mod->instance");
$libfile = "$CFG->dirroot/mod/$mod->modname/lib.php";