forked from science-ation/science-ation
remove a conflict with the $fields variable, wasn'ta bug, but was
overwriting the global valiable.
This commit is contained in:
parent
e65f899731
commit
16567265d6
@ -280,9 +280,9 @@ function createData(x,y,w,h,l,face,align,valign,value) {
|
|||||||
$x++;
|
$x++;
|
||||||
}
|
}
|
||||||
/* Do the fields */
|
/* Do the fields */
|
||||||
$fields = array('col', 'group', 'sort', 'distinct', 'filter');
|
$fs = array('col', 'group', 'sort', 'distinct', 'filter');
|
||||||
$first = true;
|
$first = true;
|
||||||
foreach($fields as $f) {
|
foreach($fs as $f) {
|
||||||
foreach($report[$f] as $x=>$v) {
|
foreach($report[$f] as $x=>$v) {
|
||||||
$k = $v['field'];
|
$k = $v['field'];
|
||||||
$vx = intval($v['x']);
|
$vx = intval($v['x']);
|
||||||
|
Loading…
Reference in New Issue
Block a user