From 026eada78913f21d79019b87672638313aeddb81 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 1 Jul 2007 15:48:50 +0000 Subject: [PATCH] MDL-9599 Glossary terms revert back to 'Not categorized' when using categories, patch by Alexander Pavlyutin; merged from MOODLE_18_STABLE --- mod/glossary/edit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5