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.php5
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)