MDL-9599 Glossary terms revert back to 'Not categorized' when using categories, patch by Alexander Pavlyutin; merged from MOODLE_18_STABLE

This commit is contained in:
skodak
2007-07-01 15:48:50 +00:00
parent 9347082d10
commit 026eada789
+1 -1
View 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);