From 16567265d672126af7c5af396a1c11963d17b833 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 2 Feb 2010 19:40:55 +0000 Subject: [PATCH] remove a conflict with the $fields variable, wasn'ta bug, but was overwriting the global valiable. --- admin/reports_editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/reports_editor.php b/admin/reports_editor.php index 67b244c..452c7b4 100644 --- a/admin/reports_editor.php +++ b/admin/reports_editor.php @@ -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']);