mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Force the number of Tags in ormTagSet
This commit is contained in:
@@ -3359,7 +3359,7 @@ EOF
|
||||
$oTagSet = $this->Get($sAttCode);
|
||||
if (is_null($oTagSet))
|
||||
{
|
||||
$oTagSet = new ormTagSet(get_class($this), $sAttCode);
|
||||
$oTagSet = new ormTagSet(get_class($this), $sAttCode, $oAttDef->GetMaxItems());
|
||||
}
|
||||
$oTagSet->ApplyDelta($value);
|
||||
$this->Set($sAttCode, $oTagSet);
|
||||
|
||||
Reference in New Issue
Block a user