N°2957 - allow empty class parameter

This commit is contained in:
Eric
2020-09-16 17:57:38 +02:00
parent 0ffe76e359
commit f100e9bd09

View File

@@ -296,8 +296,7 @@ class utils
case 'class': case 'class':
$retValue = $value; $retValue = $value;
if (!MetaModel::IsValidClass($value)) if (($value != '') && !MetaModel::IsValidClass($value)) {
{
throw new CoreException(Dict::Format('UI:OQL:UnknownClassNoFix', utils::HtmlEntities($value))); throw new CoreException(Dict::Format('UI:OQL:UnknownClassNoFix', utils::HtmlEntities($value)));
} }
break; break;