From 2c5c7029feb3335b155737a89bbd74da09330125 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Mon, 17 Aug 2009 15:18:49 +0000 Subject: [PATCH] MDL-19796 Upgraded calls to choose_from_menu --- filter/manage.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/filter/manage.php b/filter/manage.php index bc774bfcd4..20750014a2 100644 --- a/filter/manage.php +++ b/filter/manage.php @@ -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) { -- 2.39.5