mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Fix call to Field::AddMetadata() to remove $sValue as null (regression introduced in cfd9dba6)
This commit is contained in:
@@ -1053,7 +1053,7 @@ abstract class AttributeDefinition
|
||||
// - Value raw
|
||||
if ($this::IsScalar())
|
||||
{
|
||||
$oFormField->AddMetadata('value-raw', $oObject->Get($this->GetCode()));
|
||||
$oFormField->AddMetadata('value-raw', (string) $oObject->Get($this->GetCode()));
|
||||
}
|
||||
|
||||
return $oFormField;
|
||||
|
||||
Reference in New Issue
Block a user