]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19796 Upgraded calls to choose_from_menu
authornicolasconnault <nicolasconnault>
Mon, 17 Aug 2009 15:18:49 +0000 (15:18 +0000)
committernicolasconnault <nicolasconnault>
Mon, 17 Aug 2009 15:18:49 +0000 (15:18 +0000)
filter/manage.php

index bc774bfcd4d08f2268763b249dca74c71de6189f..20750014a2591b6d7eef67fefb7fef63df79202a 100644 (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) {