Update of /cvsroot/perfparse/_perfparse-phpgui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7069
Modified Files:
utils.php
Log Message:
fixed save of maxin/minin when scale is auto
Index: utils.php
===================================================================
RCS file: /cvsroot/perfparse/_perfparse-phpgui/utils.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** utils.php 10 Nov 2007 21:03:32 -0000 1.45
--- utils.php 3 Dec 2007 20:07:19 -0000 1.46
***************
*** 790,793 ****
--- 790,799 ----
}
}
+
+ if($grapharray['scale']==6) {
+ $grapharray['minin']=NULL;
+ $grapharray['maxin']=NULL;
+ }
+
$query='insert into perfdata_graphs (title,descript,refresh_time,metric_id,scale,minin,maxin,timerange,';
|