summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/validate.inc.php
diff options
context:
space:
mode:
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>";