From: willcast Date: Fri, 21 Nov 2003 03:00:42 +0000 (+0000) Subject: - Found the bug with the Edit Categories button. Fixed. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=840d3ba8e3d30092f1c0927043612c6f24cd039c;p=moodle.git - Found the bug with the Edit Categories button. Fixed. --- 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;