git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4248 a333f486-631f-4898-b8df-5754b55c2be0
@@ -6968,6 +6968,10 @@ class AttributeCustomFields extends AttributeDefinition
{
return new ormCustomFieldsValue($oHostObject, $this->GetCode(), $proposedValue);
}
+ elseif (is_null($proposedValue))
+ {
+ return new ormCustomFieldsValue($oHostObject, $this->GetCode());
+ }
throw new Exception('Unexpected type for the value of a custom fields attribute: '.gettype($proposedValue));