From 8a823bbfb2d7ffabc008be255b0844cb4148089f Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Fri, 25 Sep 2020 16:28:56 +0200 Subject: [PATCH] fix missing title (#2) --- system/modules/newslist_extended/classes/NewslistExtended.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/modules/newslist_extended/classes/NewslistExtended.php b/system/modules/newslist_extended/classes/NewslistExtended.php index 3a7d01c..3ef3518 100644 --- a/system/modules/newslist_extended/classes/NewslistExtended.php +++ b/system/modules/newslist_extended/classes/NewslistExtended.php @@ -30,7 +30,7 @@ private function generateNewsLink($strHref, $strTitle, $strText, $blnIsReadMore { return sprintf('', $strHref, - specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $objArticle->headline), true), + specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $strTitle), true), $strText, ($blnIsReadMore ? ' ' : '')); }