forked from science-ation/science-ation
- The generator needs these to be arrays
This commit is contained in:
parent
cf8f539c48
commit
18d2bfa0d3
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user