From 2b9969d47e5c2b161f1f8418bd3d4d06cbdcd8b5 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Sun, 1 Dec 2019 15:17:40 +0100 Subject: [PATCH] Fixes #4035 - {NEWSTITLE} fix PHP 7.3 compatibility --- e107_core/shortcodes/batch/news_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index 8512927f2..c956a35d6 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -53,7 +53,7 @@ class news_shortcodes extends e_shortcode } } - function sc_newstitle($parm) + function sc_newstitle($parm=null) { $text = e107::getParser()->toHTML($this->news_item['news_title'], TRUE, 'TITLE');