Fixed missing height and width in module images of custom blocks
This commit is contained in:
@@ -134,6 +134,8 @@ foreach ($portal_modules as $row)
|
|||||||
'TITLE' => $template_module['title'],
|
'TITLE' => $template_module['title'],
|
||||||
'CODE' => $template_module['code'],
|
'CODE' => $template_module['code'],
|
||||||
'MODULE_ID' => $row['module_id'],
|
'MODULE_ID' => $row['module_id'],
|
||||||
|
'IMAGE_WIDTH' => $row['module_image_width'],
|
||||||
|
'IMAGE_HEIGHT' => $row['module_image_height'],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user