diff --git a/src/Resources/contao/Hooks.php b/src/Resources/contao/Hooks.php index d7d9ba4..0dceee9 100644 --- a/src/Resources/contao/Hooks.php +++ b/src/Resources/contao/Hooks.php @@ -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)