Force the number of Tags in ormTagSet

This commit is contained in:
Eric
2018-12-04 15:53:00 +01:00
parent e4e5f627c4
commit 831b18b4d2
5 changed files with 6 additions and 6 deletions

View File

@@ -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));