From: moodler Date: Wed, 8 Oct 2003 01:24:49 +0000 (+0000) Subject: Only show visible modules in help X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1e6e23fe93ff65eba3800c488396b4e9ef4afc56;p=moodle.git Only show visible modules in help --- diff --git a/help.php b/help.php index 67643602af..9d1d50d5e7 100644 --- a/help.php +++ b/help.php @@ -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 }