From f100e9bd09ee42d5a29d05a9f1b858d6655e327f Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 16 Sep 2020 17:57:38 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02957=20-=20allow=20empty=20class=20param?= =?UTF-8?q?eter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/utils.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/utils.inc.php b/application/utils.inc.php index 7e29569c16..589916f4cf 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -296,8 +296,7 @@ class utils case 'class': $retValue = $value; - if (!MetaModel::IsValidClass($value)) - { + if (($value != '') && !MetaModel::IsValidClass($value)) { throw new CoreException(Dict::Format('UI:OQL:UnknownClassNoFix', utils::HtmlEntities($value))); } break;