fixed missing OUTPUT global regression

This commit is contained in:
skodak
2009-07-04 16:31:33 +00:00
parent 1fb3d044fd
commit d128a46db8
+2 -2
View 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;