]> git.mjollnir.org Git - moodle.git/commitdiff
- Found the bug with the Edit Categories button. Fixed.
authorwillcast <willcast>
Fri, 21 Nov 2003 03:00:42 +0000 (03:00 +0000)
committerwillcast <willcast>
Fri, 21 Nov 2003 03:00:42 +0000 (03:00 +0000)
mod/glossary/lib.php

index 558f59413b184f4848c4ed14a776ef16ac4dbbb3..8a86eb35d98f01634d55d4779745e3e8e1ade76b 100644 (file)
@@ -1036,7 +1036,7 @@ global $CFG, $THEME;
      echo '<tr>';
 
      echo '<td align=center width=20%>';
-     if ( isteacher($course->id) ) {
+     if ( isteacher($glossary->course) ) {
              $options['id'] = $cm->id;
              $options['mode'] = 'cat';
              $options['hook'] = $hook;