mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
Force the number of Tags in ormTagSet
This commit is contained in:
@@ -1334,7 +1334,7 @@ abstract class DBObject implements iDisplay
|
||||
{
|
||||
if (is_string($toCheck))
|
||||
{
|
||||
$oTag = new ormTagSet(get_class($this), $sAttCode);
|
||||
$oTag = new ormTagSet(get_class($this), $sAttCode, $oAtt->GetMaxItems());
|
||||
try
|
||||
{
|
||||
$oTag->SetValues(explode(' ', $toCheck));
|
||||
|
||||
Reference in New Issue
Block a user