From: stronk7 Date: Mon, 30 Aug 2004 14:42:18 +0000 (+0000) Subject: Bug 1831 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c9e9fb0fd760ab0d0d220ea8b72f4ceb371e4a4c;p=moodle.git Bug 1831 (http://moodle.org/bugs/bug.php?op=show&bugid=1831) Merged from MOODLE_14_STABLE --- 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