mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°931: Integrity controls
This commit is contained in:
@@ -6040,6 +6040,10 @@ class AttributeTagSet extends AttributeDBFieldVoid
|
||||
|
||||
public function IsNull($proposedValue)
|
||||
{
|
||||
if (is_null($proposedValue))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
/** @var \ormTagSet $proposedValue */
|
||||
return count($proposedValue->GetValue()) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user