From 840d3ba8e3d30092f1c0927043612c6f24cd039c Mon Sep 17 00:00:00 2001 From: willcast Date: Fri, 21 Nov 2003 03:00:42 +0000 Subject: [PATCH] - Found the bug with the Edit Categories button. Fixed. --- mod/glossary/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index 558f59413b..8a86eb35d9 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -1036,7 +1036,7 @@ global $CFG, $THEME; echo ''; echo ''; - if ( isteacher($course->id) ) { + if ( isteacher($glossary->course) ) { $options['id'] = $cm->id; $options['mode'] = 'cat'; $options['hook'] = $hook; -- 2.39.5