Merge branch 'MDL-43789_25' of https://github.com/rajeevs1992/moodle into MOODLE_25_STABLE

This commit is contained in:
Dan Poltawski
2014-04-18 11:05:56 +08:00
+1 -1
View File
@@ -46,7 +46,7 @@ class user_filter_courserole extends user_filter_type {
$objs[] =& $mform->createElement('select', $this->_name .'_ct', null, $this->get_course_categories());
$objs[] =& $mform->createElement('text', $this->_name, null);
$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
$mform->setType($this->_name, PARAM_ALPHANUMEXT);
$mform->setType($this->_name, PARAM_TEXT);
if ($this->_advanced) {
$mform->setAdvanced($this->_name.'_grp');
}