From b17c2048a1010f0668799d169b654bed13de1d29 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Thu, 20 Mar 2025 16:36:16 +0100 Subject: [PATCH] update validator --- public_html/appmonitor/classes/validateparam.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/appmonitor/classes/validateparam.class.php b/public_html/appmonitor/classes/validateparam.class.php index bb03935..dfdf41d 100644 --- a/public_html/appmonitor/classes/validateparam.class.php +++ b/public_html/appmonitor/classes/validateparam.class.php @@ -184,7 +184,7 @@ class validateparam } } - if (isset($aOpt['required']) && !$aOpt['required'] && isset($aParams[$sKey])) { + if (isset($aParams[$sKey])) { $this->_wd("Check OPTIONAL $sKey"); $sError = $this->validateValue($aOpt, $aParams[$sKey]); if ($sError) { -- GitLab