diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 69ffe665..63f494ef 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -158,6 +158,13 @@ foreach($stock as $n=>$v) { $report['creator'] = $r['creator']; $report['type'] = $r['type']; + $report['col'] = array(); + $report['sort'] = array(); + $report['group'] = array(); + $report['distinct'] = array(); + $report['options'] = array(); + $report['loc'] = array(); + $allow_fields = array(); switch($report['type']) { case 'student': $allow_fields = array_keys($report_students_fields); break; @@ -356,7 +363,7 @@ foreach($stock as $n=>$v) { $x++; } $sel = implode(",", $sel); - + $order = array(); /* Setup the order: groups, then sort order */