diff --git a/modules/mod_articles_news/tmpl/_item.php b/modules/mod_articles_news/tmpl/_item.php index 9ecaeda6c0c92..1248fea7c8161 100644 --- a/modules/mod_articles_news/tmpl/_item.php +++ b/modules/mod_articles_news/tmpl/_item.php @@ -8,6 +8,8 @@ */ defined('_JEXEC') or die; + +use Joomla\CMS\Layout\LayoutHelper; ?> get('item_title')) : ?> @@ -23,7 +25,7 @@ > -get('img_intro_full') !== 'none' && !empty($item->imageSrc)) : ?> +get('img_intro_full') !== 'none' && !empty($item->imageSrc)) : ?>
<?php echo $item->imageAlt; ?> imageCaption)) : ?> @@ -47,5 +49,5 @@ afterDisplayContent; ?> link) && $item->readmore != 0 && $params->get('readmore')) : ?> - link . '">' . $item->linkText . ''; ?> + $item, 'params' => $item->params, 'link' => $item->link)); ?>