From: skodak Date: Sun, 1 Jul 2007 15:48:50 +0000 (+0000) Subject: MDL-9599 Glossary terms revert back to 'Not categorized' when using categories, patch... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=026eada78913f21d79019b87672638313aeddb81;p=moodle.git MDL-9599 Glossary terms revert back to 'Not categorized' when using categories, patch by Alexander Pavlyutin; merged from MOODLE_18_STABLE --- diff --git a/mod/glossary/edit_form.php b/mod/glossary/edit_form.php index bffc32e7d3..d4b53e2d36 100644 --- a/mod/glossary/edit_form.php +++ b/mod/glossary/edit_form.php @@ -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);