From 1e6e23fe93ff65eba3800c488396b4e9ef4afc56 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 8 Oct 2003 01:24:49 +0000 Subject: [PATCH] Only show visible modules in help --- help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5