]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9599 Glossary terms revert back to 'Not categorized' when using categories, patch...
authorskodak <skodak>
Sun, 1 Jul 2007 15:48:50 +0000 (15:48 +0000)
committerskodak <skodak>
Sun, 1 Jul 2007 15:48:50 +0000 (15:48 +0000)
mod/glossary/edit_form.php

index bffc32e7d3f21feb435ccbd7512f99fececfed8c..d4b53e2d364b3df42cef45409e145fbf6c4002a5 100644 (file)
@@ -35,7 +35,7 @@ class mod_glossary_entry_form extends moodleform {
             $categories = array(0 => get_string('notcategorised', 'glossary'));
         }
 
-        $categoriesEl = $mform->addElement('select', 'categories', get_string('categories', 'glossary'), $categories);
+        $categoriesEl =& $mform->addElement('select', 'categories', get_string('categories', 'glossary'), $categories);
         $categoriesEl->setMultiple(true);
         $categoriesEl->setSize(5);