diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-21 12:04:14 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-21 12:04:14 +0000 |
| commit | 6cedc68a94791171bc3b3bd3087d6330f039c031 (patch) | |
| tree | e83e801e16b5259bbd6712f51d6219e6d0b8f01e /frontends/php/include/validate.inc.php | |
| parent | acb94184d3be234c51afae80428233c548977b7f (diff) | |
| download | zabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.tar.gz zabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.tar.xz zabbix-6cedc68a94791171bc3b3bd3087d6330f039c031.zip | |
Frontend improvements.
git-svn-id: svn://svn.zabbix.com/trunk@2554 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/validate.inc.php')
| -rw-r--r-- | frontends/php/include/validate.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php index c7800cd6..dd33af3a 100644 --- a/frontends/php/include/validate.inc.php +++ b/frontends/php/include/validate.inc.php @@ -35,6 +35,7 @@ } define("NOT_EMPTY","({}!='')&&"); + define("DB_ID","({}>=0&&{}<=4294967295)&&"); // VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION function calc_exp($fields,$field,$expression) |
