diff options
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), |
