From c9e9fb0fd760ab0d0d220ea8b72f4ceb371e4a4c Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 30 Aug 2004 14:42:18 +0000 Subject: [PATCH] Bug 1831 (http://moodle.org/bugs/bug.php?op=show&bugid=1831) Merged from MOODLE_14_STABLE --- mod/glossary/print.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mod/glossary/print.php b/mod/glossary/print.php index d19256ee4c..35c6990725 100644 --- a/mod/glossary/print.php +++ b/mod/glossary/print.php @@ -39,12 +39,7 @@ require_login(); } - if ($course->category) { - require_login($course->id); - if (isguest()) { - error("You must be logged to use this page."); - } - } + require_course_login($course); /// setting the default values for the display mode of the current glossary /// only if the glossary is viewed by the first time -- 2.39.5