]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19823 Upgraded calls to choose_from_menu
authornicolasconnault <nicolasconnault>
Tue, 18 Aug 2009 00:13:44 +0000 (00:13 +0000)
committernicolasconnault <nicolasconnault>
Tue, 18 Aug 2009 00:13:44 +0000 (00:13 +0000)
tag/manage.php

index 4058357693a631a790e7938bea81874bc611b305..a6bdd1d001b0018eaa509ef7c593ef7f91a074e8 100644 (file)
@@ -233,7 +233,7 @@ if ($tagrecords = $DB->get_records_sql($query, $params, $table->get_page_start()
         $timemodified   =   format_time(time() - $tag->timemodified);
         $checkbox       =   '<input type="checkbox" name="tagschecked[]" value="'.$tag->id.'" />';
         $text           =   '<input type="text" name="newname['.$tag->id.']" />';
-        $tagtype        =   choose_from_menu($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, '', '', '0', true);
+        $tagtype        =   $OUTPUT->select(html_select::make($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, false));
 
         //if the tag if flagged, highlight it
         if ($tag->flag > 0) {