diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-31 10:31:57 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-31 10:31:57 +0000 |
| commit | 2ae32e52989defd735f7988f7a54864ad58b389a (patch) | |
| tree | c3a1f02d9a4659becf7fecde859f035e86d2dceb /frontends/php/include/validate.inc.php | |
| parent | 1a8203868a9eb0f6e7a55b1df9b0ca3f0c32e5cd (diff) | |
| download | zabbix-2ae32e52989defd735f7988f7a54864ad58b389a.tar.gz zabbix-2ae32e52989defd735f7988f7a54864ad58b389a.tar.xz zabbix-2ae32e52989defd735f7988f7a54864ad58b389a.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2587 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/validate.inc.php')
| -rw-r--r-- | frontends/php/include/validate.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php index dd33af3a..35196f9d 100644 --- a/frontends/php/include/validate.inc.php +++ b/frontends/php/include/validate.inc.php @@ -63,6 +63,7 @@ if($expression[strlen($expression)-1]=='&') $expression[strlen($expression)-1]=0; $exec = "return ".$expression.";"; // info($exec); +// echo $exec,"<br>"; return eval($exec); } @@ -72,7 +73,7 @@ { if(!isset($fields[$key])) { - echo "Unset: $key<br>"; +//// echo "Unset: $key<br>"; unset($_REQUEST[$key]); } } @@ -121,6 +122,8 @@ $ret = TRUE; + return $ret; + $critical = FALSE; foreach($fields as $field => $checks) |
