From 912683d9554ea7e3b8c4615f7edc94d1499c423b Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 27 Nov 2009 22:55:47 -0500 Subject: Added stripslashes() to next/previous blog links --- pages/blog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/blog.php b/pages/blog.php index 31978f2..a96edea 100755 --- a/pages/blog.php +++ b/pages/blog.php @@ -49,7 +49,7 @@ if (isset($_GET['post'])) if (isset($getback3['title'])) { $template->adds_block('BACK', array( 'CODED' => $getback3['slug'], - 'TITLE' => htmlentities($getback3['title']))); + 'TITLE' => htmlentities(stripslashes($getback3['title'])))); } $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1"; @@ -58,7 +58,7 @@ if (isset($_GET['post'])) if (isset($getnext3['title'])) { $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'], - 'TITLE' => htmlentities($getnext3['title']))); + 'TITLE' => htmlentities(stripslashes($getnext3['title'])))); } $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'], -- cgit 1.4.1