summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/validate.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-01 10:42:14 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-01 10:42:14 +0000
commit1ad92c8782cf4191d79d8bb12c0b1756e0868301 (patch)
tree808612dd62a577cf6092f6458d2cb26a8f0d9a15 /frontends/php/include/validate.inc.php
parent1a2630578a3b2ce6eb8fd375dba0eb040255a8ad (diff)
downloadzabbix-1ad92c8782cf4191d79d8bb12c0b1756e0868301.tar.gz
zabbix-1ad92c8782cf4191d79d8bb12c0b1756e0868301.tar.xz
zabbix-1ad92c8782cf4191d79d8bb12c0b1756e0868301.zip
- Frontend improvements (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2595 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/validate.inc.php')
-rw-r--r--frontends/php/include/validate.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php
index 91dfa99c..bf53e377 100644
--- a/frontends/php/include/validate.inc.php
+++ b/frontends/php/include/validate.inc.php
@@ -47,6 +47,8 @@
{
global $_REQUEST;
+// echo $expression,"<br>";
+
if(strstr($expression,"{}"))
{
if(!isset($_REQUEST[$field])) return FALSE;
@@ -57,7 +59,7 @@
// If an unset variable used in expression, return FALSE
if(strstr($expression,'{'.$f.'}')&&!isset($_REQUEST[$f]))
{
-// info("Variable is not set. $expression is FALSE");
+// info("Variable [$f] is not set. $expression is FALSE");
return FALSE;
}
// echo $f,":",$expression,"<br>";