diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-10-02 19:04:20 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-10-02 19:04:20 -0400 |
commit | 9dfba1e70866fb2bb551678f6e04b8ddfd5467e1 (patch) | |
tree | 81f4731ae7b2fa902226f084480e26411ac3ad71 /admin/links.php | |
parent | 00586f1e8ada8f5baa6e3013525862dccac77b4a (diff) | |
download | fourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.tar.gz fourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.tar.bz2 fourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.zip |
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
Diffstat (limited to 'admin/links.php')
-rw-r--r-- | admin/links.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
97 | { | 97 | { |
98 | if (!empty($link)) | 98 | if (!empty($link)) |
99 | { | 99 | { |
100 | $template->adds_block('LINK', array( 'TITLE' => $link['title'], | 100 | $template->adds_block('LINK', array( 'TITLE' => htmlentities($link['title']), |
101 | 'URL' => $link['url'], | 101 | 'URL' => $link['url'], |
102 | 'ID' => $link['id'], | 102 | 'ID' => $link['id'], |
103 | 'ODD' => ($j % 2 ? '' : ' class="odd"'))); | 103 | 'ODD' => ($j % 2 ? '' : ' class="odd"'))); |