coding style hint - no globals!

This commit is contained in:
Petr Skoda
2010-09-17 09:57:10 +00:00
parent 904fa9716d
commit 1af9ee3d2f
+1 -1
View File
@@ -229,7 +229,7 @@ function filters_action_url($filterpath, $action) {
}
function get_table_row($filterinfo, $isfirstrow, $islastactive, $applytostrings) {
global $CFG, $OUTPUT, $activechoices, $applytochoices, $filternames;
global $CFG, $OUTPUT, $activechoices, $applytochoices, $filternames; //TODO: this is sloppy coding style!!
$row = array();
$filter = $filterinfo->filter;