]> git.mjollnir.org Git - moodle.git/commitdiff
fixed missing OUTPUT global regression
authorskodak <skodak>
Sat, 4 Jul 2009 16:31:33 +0000 (16:31 +0000)
committerskodak <skodak>
Sat, 4 Jul 2009 16:31:33 +0000 (16:31 +0000)
admin/filters.php

index 4ca0de8dae36905c98c5d1304913cf7018975cd8..24544b4e249c0e57f7bea830caea0737311f24ac 100644 (file)
@@ -230,13 +230,13 @@ function action_url($filterpath, $action) {
 }
 
 function action_icon($url, $icon, $straction) {
-    global $CFG;
+    global $CFG, $OUTPUT;
     return '<a href="' . $url . '" title="' . $straction . '">' .
             '<img src="' . $OUTPUT->old_icon_url('t/' . $icon) . '" alt="' . $straction . '" /></a> ';
 }
 
 function get_table_row($filterinfo, $isfirstrow, $islastactive, $applytostrings) {
-    global $CFG, $activechoices, $applytochoices, $filternames;
+    global $CFG, $OUTPUT, $activechoices, $applytochoices, $filternames;
     $row = array();
     $filter = $filterinfo->filter;