From 9025d07767b19bb3d0f694c5c39b61446b4917a1 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 5 May 2017 03:08:54 +0200 Subject: Prevent "$ITEM['BODY']['HTML']()" which is a closure since version 2.1 from calling twice. --- template/standard/html/feed/item_post.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'template/standard/html/feed/item_post.php') diff --git a/template/standard/html/feed/item_post.php b/template/standard/html/feed/item_post.php index 7f477d6..30e97ab 100644 --- a/template/standard/html/feed/item_post.php +++ b/template/standard/html/feed/item_post.php @@ -6,6 +6,8 @@ # [see documentation] # # # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# + +$HTML = $POST['BODY']['HTML'](); ?> <?=escapeHTML($POST['ATTR']['NAME'])?> @@ -13,10 +15,10 @@ - + + ]]> -- cgit v1.2.3