diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-27 22:55:47 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-27 22:55:47 -0500 |
commit | 912683d9554ea7e3b8c4615f7edc94d1499c423b (patch) | |
tree | 20669db144ed519cd2c9b4fa25480c9a1acc509e | |
parent | 64b4f071c2e2e0cb8c8232b39211a7c3cfa24a8c (diff) | |
download | fourisland-912683d9554ea7e3b8c4615f7edc94d1499c423b.tar.gz fourisland-912683d9554ea7e3b8c4615f7edc94d1499c423b.tar.bz2 fourisland-912683d9554ea7e3b8c4615f7edc94d1499c423b.zip |
Added stripslashes() to next/previous blog links
-rwxr-xr-x | pages/blog.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'])) | |||
49 | if (isset($getback3['title'])) | 49 | if (isset($getback3['title'])) |
50 | { | 50 | { |
51 | $template->adds_block('BACK', array( 'CODED' => $getback3['slug'], | 51 | $template->adds_block('BACK', array( 'CODED' => $getback3['slug'], |
52 | 'TITLE' => htmlentities($getback3['title']))); | 52 | 'TITLE' => htmlentities(stripslashes($getback3['title'])))); |
53 | } | 53 | } |
54 | 54 | ||
55 | $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1"; | 55 | $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1"; |
@@ -58,7 +58,7 @@ if (isset($_GET['post'])) | |||
58 | if (isset($getnext3['title'])) | 58 | if (isset($getnext3['title'])) |
59 | { | 59 | { |
60 | $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'], | 60 | $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'], |
61 | 'TITLE' => htmlentities($getnext3['title']))); | 61 | 'TITLE' => htmlentities(stripslashes($getnext3['title'])))); |
62 | } | 62 | } |
63 | 63 | ||
64 | $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'], | 64 | $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'], |