From 9dfba1e70866fb2bb551678f6e04b8ddfd5467e1 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 2 Oct 2009 19:04:20 -0400 Subject: Fixed HTML Entites problem When the poll escaping problem was fixed, a whole ton of other similar bugs were found which were also fixed here. Fixes #115 --- admin/links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/links.php') diff --git a/admin/links.php b/admin/links.php index d1ab878..fc1c813 100644 --- a/admin/links.php +++ b/admin/links.php @@ -97,7 +97,7 @@ foreach ($pager->getPageData() as $link) { if (!empty($link)) { - $template->adds_block('LINK', array( 'TITLE' => $link['title'], + $template->adds_block('LINK', array( 'TITLE' => htmlentities($link['title']), 'URL' => $link['url'], 'ID' => $link['id'], 'ODD' => ($j % 2 ? '' : ' class="odd"'))); -- cgit 1.4.1