Only show visible modules in help

This commit is contained in:
moodler
2003-10-08 01:24:49 +00:00
parent 69901d1994
commit 1e6e23fe93
+1 -1
View File
@@ -37,7 +37,7 @@
if ($module == "moodle" && ($file == "index.html" || $file == "mods.html")) {
// include file for each module
if (!$modules = get_records("modules")) {
if (!$modules = get_records("modules", "visible", 1)) {
error("No modules found!!"); // Should never happen
}