From 0877e5ce56b36b516107c117ea6859dffd463d85 Mon Sep 17 00:00:00 2001 From: osmiy Date: Mon, 13 Nov 2006 11:53:46 +0000 Subject: - merged 3458:3460 from (branches/1.1.4) [fixed graphs] (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3461 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/charts.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'frontends/php/charts.php') diff --git a/frontends/php/charts.php b/frontends/php/charts.php index 932d7467..4617a441 100644 --- a/frontends/php/charts.php +++ b/frontends/php/charts.php @@ -45,7 +45,7 @@ include_once "include/page_header.php"; $fields=array( "groupid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), "hostid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), - "graphid"=> array(T_ZBX_INT, O_OPT, P_SYS|P_NZERO, DB_ID,NULL), + "graphid"=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID,NULL), "dec"=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), "inc"=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), "left"=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535*65535),NULL), @@ -61,13 +61,19 @@ include_once "include/page_header.php"; check_fields($fields); ?> 0 && $_REQUEST["hostid"] > 0) { -- cgit