From: jamiesensei Date: Wed, 15 Aug 2007 11:04:35 +0000 (+0000) Subject: Fix for MDL-10847 No categories showing in category tab when editing a quiz / questi... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=20f500dc4d23361585e996e2dd7922e75ab69665;p=moodle.git Fix for MDL-10847 No categories showing in category tab when editing a quiz / questions on PHP 4 --- diff --git a/question/category_class.php b/question/category_class.php index c501ec6a82..a0b41e0b3c 100644 --- a/question/category_class.php +++ b/question/category_class.php @@ -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){