]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for MDL-10847 No categories showing in category tab when editing a quiz / questi...
authorjamiesensei <jamiesensei>
Wed, 15 Aug 2007 11:04:35 +0000 (11:04 +0000)
committerjamiesensei <jamiesensei>
Wed, 15 Aug 2007 11:04:35 +0000 (11:04 +0000)
question/category_class.php

index c501ec6a823ddc2feda91b59983095705589d81a..a0b41e0b3cf74d9587db30c2851b41bf810ba290 100644 (file)
@@ -191,7 +191,7 @@ class question_category_object {
         $count = 1;
         $paged = false;
         foreach ($this->editlists as $key => $list){
-            list($paged, $count) = $list->list_from_records($paged, $count);
+            list($paged, $count) = $this->editlists[$key]->list_from_records($paged, $count);
         }
         $this->catform = new question_category_edit_form($this->pageurl, compact('contexts', 'currentcat'));
         if (!$currentcat){