]> git.mjollnir.org Git - moodle.git/commitdiff
Bug 1831
authorstronk7 <stronk7>
Mon, 30 Aug 2004 14:42:18 +0000 (14:42 +0000)
committerstronk7 <stronk7>
Mon, 30 Aug 2004 14:42:18 +0000 (14:42 +0000)
(http://moodle.org/bugs/bug.php?op=show&bugid=1831)

Merged from MOODLE_14_STABLE

mod/glossary/print.php

index d19256ee4cd2dc1973261cc0e738e9754c4679da..35c6990725b9b4e3bfb7e76a22ec1b53023573d3 100644 (file)
         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