From 38ae7b1997319c87c720b70e05ce25480a0f7575 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 8 Oct 2010 21:14:39 -0400 Subject: Added stripslashes to title of related posts --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 516b0ee..aed4516 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -281,7 +281,7 @@ function displayRelated($title, $avoid = 0) $template = new FITemplate('related'); } - $template->adds_block('POST', array( 'TITLE' => doAprilFoolsDay(htmlentities($getrelated3[$i]['title'])), + $template->adds_block('POST', array( 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getrelated3[$i]['title']))), 'CODED' => $getrelated3[$i]['slug'], 'AUTHOR' => $getrelated3[$i]['author'], 'DATE' => date('F jS Y',strtotime($getrelated3[$i]['pubDate'])))); -- cgit 1.4.1