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++;
}
/* Do the fields */
$fields = array('col', 'group', 'sort', 'distinct', 'filter');
$fs = array('col', 'group', 'sort', 'distinct', 'filter');
$first = true;
foreach($fields as $f) {
foreach($fs as $f) {
foreach($report[$f] as $x=>$v) {
$k = $v['field'];
$vx = intval($v['x']);