Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merged visibility fix from stable
  • Loading branch information
moodler committed Oct 2, 2004
1 parent 170ed2a commit 4f91674
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions course/user.php
Expand Up @@ -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";

Expand Down

0 comments on commit 4f91674

Please sign in to comment.