mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
🎨 Fix bad parameter init
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user