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

@@ -177,7 +177,7 @@ class WizardHelper
else if ($oAttDef instanceof AttributeTagSet) // AttributeDate is derived from AttributeDateTime
{
$value = json_decode($value, true);
$oTagSet = new ormTagSet(get_class($oObj), $sAttCode);
$oTagSet = new ormTagSet(get_class($oObj), $sAttCode, $oAttDef->GetMaxItems());
$oTagSet->SetValues($value['orig_value']);
$oTagSet->ApplyDelta($value);
$oObj->Set($sAttCode, $oTagSet);