From 37248fa7b984f33291fa9715f301787b17c28ee7 Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 30 May 2007 09:52:51 +0000 Subject: - merged rev. 4205:4207 from branches/1.4.1 (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@4208 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/chart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/chart.php') diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 1c230996..502c6c8e 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -33,7 +33,7 @@ include_once "include/page_header.php"; // VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION $fields=array( "itemid"=> array(T_ZBX_INT, O_MAND,P_SYS, DB_ID, null), - "period"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(3600,365*24*3600), null), + "period"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(ZBX_MIN_PERIOD,ZBX_MAX_PERIOD), null), "from"=> array(T_ZBX_INT, O_OPT, null, '{}>=0', null), "width"=> array(T_ZBX_INT, O_OPT, null, '{}>0', null), "height"=> array(T_ZBX_INT, O_OPT, null, '{}>0', null), -- cgit