remove a conflict with the $fields variable, wasn'ta bug, but was

overwriting the global valiable.
This commit is contained in:
dave 2010-02-02 19:40:55 +00:00
parent e65f899731
commit 16567265d6

View File

@ -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']);