🎨 Fix bad parameter init

This commit is contained in:
Eric
2019-11-29 16:54:49 +01:00
parent a59a8c0ec5
commit df5a7440a4

View File

@@ -1948,12 +1948,12 @@ EOF
$aStyles = array();
$sStyle = '';
$sWidth = $oAttDef->GetWidth('width', '');
$sWidth = $oAttDef->GetWidth();
if (!empty($sWidth))
{
$aStyles[] = 'width:'.$sWidth;
}
$sHeight = $oAttDef->GetHeight('height', '');
$sHeight = $oAttDef->GetHeight();
if (!empty($sHeight))
{
$aStyles[] = 'height:'.$sHeight;