- The generator needs these to be arrays

This commit is contained in:
dave 2007-03-19 16:47:01 +00:00
parent cf8f539c48
commit 18d2bfa0d3

View File

@ -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 */