MDL-19796 Upgraded calls to choose_from_menu

This commit is contained in:
nicolasconnault 2009-08-17 15:18:49 +00:00
parent f147f547cb
commit 2c5c7029fe

View File

@ -179,8 +179,9 @@ if (empty($availablefilters)) {
} else {
$activechoices[TEXTFILTER_INHERIT] = $strdefaultoff;
}
$row[] = choose_from_menu($activechoices, str_replace('/', '_', $filter),
$filterinfo->localstate, '', '', '', true);
$select = html_select::make($activechoices, str_replace('/', '_', $filter), $filterinfo->localstate, false);
$select->nothingvalue = '';
$row[] = $OUTPUT->select($select);
// Settings link, if required
if ($settingscol) {