diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-30 09:52:51 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-30 09:52:51 +0000 |
| commit | 37248fa7b984f33291fa9715f301787b17c28ee7 (patch) | |
| tree | a5ee801c754c75201ce591b5efc6c3f348965ca5 /frontends/php/chart2.php | |
| parent | 9245d334df5ddcce1806d870b21585e6e5b45472 (diff) | |
| download | zabbix-37248fa7b984f33291fa9715f301787b17c28ee7.tar.gz zabbix-37248fa7b984f33291fa9715f301787b17c28ee7.tar.xz zabbix-37248fa7b984f33291fa9715f301787b17c28ee7.zip | |
- merged rev. 4205:4207 from branches/1.4.1 (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4208 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index 15c6a9c9..a0dcbe60 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -34,7 +34,7 @@ include_once "include/page_header.php"; // VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION $fields=array( "graphid"=> array(T_ZBX_INT, O_MAND, P_SYS, DB_ID, null), - "period"=> array(T_ZBX_INT, O_OPT, P_NZERO, BETWEEN(3600,12*31*24*3600), null), + "period"=> array(T_ZBX_INT, O_OPT, P_NZERO, BETWEEN(ZBX_MIN_PERIOD,ZBX_MAX_PERIOD), null), "from"=> array(T_ZBX_INT, O_OPT, P_NZERO, null, null), "stime"=> array(T_ZBX_STR, O_OPT, P_SYS, null, null), "border"=> array(T_ZBX_INT, O_OPT, P_NZERO, IN('0,1'), null), |
