Skip to content

Commit

Permalink
inherit image size from module settings in news lister
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotd committed Apr 29, 2020
1 parent 713054e commit 77a31f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static function apiModuleGenerated(ApiModule $module, string $moduleClass
);
if ($_module->imgSize) {
foreach ($module->newsItems as $item) {
if (trim(
if (!trim(
implode(
'',
StringUtil::deserialize($item->size)
Expand Down

0 comments on commit 77a31f0

Please sign in to comment.