diff --git a/modules/mod_articles_news/tmpl/horizontal.php b/modules/mod_articles_news/tmpl/horizontal.php index edb5f98fac23f..dee1256fe51e8 100644 --- a/modules/mod_articles_news/tmpl/horizontal.php +++ b/modules/mod_articles_news/tmpl/horizontal.php @@ -15,21 +15,16 @@ $wa = $app->getDocument()->getWebAssetManager(); $wa->registerAndUseStyle('mod_modules', 'mod_articles_news/template.css'); -if (!$list) +if (empty($list)) { return; } ?>