mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4213 Allow all AttributeSet impl to be saved in portal
This commit is contained in:
@@ -22,8 +22,7 @@ namespace Combodo\iTop\Portal\Form;
|
||||
|
||||
use AttachmentPlugIn;
|
||||
use AttributeDateTime;
|
||||
use AttributeEnumSet;
|
||||
use AttributeTagSet;
|
||||
use AttributeSet;
|
||||
use CMDBChangeOpAttachmentAdded;
|
||||
use CMDBChangeOpAttachmentRemoved;
|
||||
use Combodo\iTop\Form\Field\Field;
|
||||
@@ -1324,7 +1323,7 @@ class ObjectFormManager extends FormManager
|
||||
|
||||
// Setting value in the object
|
||||
$this->oObject->Set($sAttCode, $oLinkSet);
|
||||
} elseif (($oAttDef instanceof AttributeEnumSet) || ($oAttDef instanceof AttributeTagSet)) {
|
||||
} elseif ($oAttDef instanceof AttributeSet) {
|
||||
/** @var \ormSet $oTagSet */
|
||||
$oOrmSet = $this->oObject->Get($sAttCode);
|
||||
if (is_null($oOrmSet)) {
|
||||
|
||||
Reference in New Issue
Block a user