summary refs log tree commit diff stats
path: root/includes/functions.php
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2010-10-08 21:14:39 -0400
committerStarla Insigna <starla4444@gmail.com>2010-10-08 21:14:39 -0400
commit38ae7b1997319c87c720b70e05ce25480a0f7575 (patch)
tree9eebbfd35f68d5ae3cc1ccbf06301c8dfc8a65e5 /includes/functions.php
parentdce71eebff258965dcf4d24f88a8e7db32c90812 (diff)
downloadfourisland-38ae7b1997319c87c720b70e05ce25480a0f7575.tar.gz
fourisland-38ae7b1997319c87c720b70e05ce25480a0f7575.tar.bz2
fourisland-38ae7b1997319c87c720b70e05ce25480a0f7575.zip
Added stripslashes to title of related posts
Diffstat (limited to 'includes/functions.php')
-rwxr-xr-xincludes/functions.php2
1 files changed, 1 insertions, 1 deletions
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)
281 $template = new FITemplate('related'); 281 $template = new FITemplate('related');
282 } 282 }
283 283
284 $template->adds_block('POST', array( 'TITLE' => doAprilFoolsDay(htmlentities($getrelated3[$i]['title'])), 284 $template->adds_block('POST', array( 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getrelated3[$i]['title']))),
285 'CODED' => $getrelated3[$i]['slug'], 285 'CODED' => $getrelated3[$i]['slug'],
286 'AUTHOR' => $getrelated3[$i]['author'], 286 'AUTHOR' => $getrelated3[$i]['author'],
287 'DATE' => date('F jS Y',strtotime($getrelated3[$i]['pubDate'])))); 287 'DATE' => date('F jS Y',strtotime($getrelated3[$i]['pubDate']))));