Skip to content
Snippets Groups Projects

update validator

Merged Hahn Axel (hahn) requested to merge update-appmonitor into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -184,7 +184,7 @@ class validateparam
@@ -184,7 +184,7 @@ class validateparam
}
}
}
}
if (isset($aOpt['required']) && !$aOpt['required'] && isset($aParams[$sKey])) {
if (isset($aParams[$sKey])) {
$this->_wd("Check OPTIONAL $sKey");
$this->_wd("Check OPTIONAL $sKey");
$sError = $this->validateValue($aOpt, $aParams[$sKey]);
$sError = $this->validateValue($aOpt, $aParams[$sKey]);
if ($sError) {
if ($sError) {
Loading