mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 22:39:03 +02:00
N°2957 - allow empty class parameter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user