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

This commit is contained in:
skodak 2007-07-01 15:47:46 +00:00
parent dc6ef09c49
commit 22f3e58605

View file

@ -35,7 +35,7 @@ class mod_glossary_entry_form extends moodleform {
$categories = array(0 => get_string('notcategorised', 'glossary')); $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->setMultiple(true);
$categoriesEl->setSize(5); $categoriesEl->setSize(5);