diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index d0a1fa0f9c..77a8414bd3 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -5522,7 +5522,7 @@ class AttributeImage extends AttributeBlob { $iMaxWidthPx = $this->Get('display_max_width'); $iMaxHeightPx = $this->Get('display_max_height'); - $sUrl = $this->Get('default_image'); + $sUrl = $this->GetOptional('default_image', ''); $sRet = ''; if (is_object($value) && !$value->IsEmpty()) {