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/pending.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/pending.php')
-rw-r--r-- | admin/pending.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/pending.php b/admin/pending.php index 407cd35..6f1cfaf 100644 --- a/admin/pending.php +++ b/admin/pending.php | |||
@@ -148,7 +148,7 @@ foreach ($pager->getPageData() as $post) | |||
148 | { | 148 | { |
149 | if (!empty($post)) | 149 | if (!empty($post)) |
150 | { | 150 | { |
151 | $template->add_ref($j, 'POST', array( 'TITLE' => $post['title'], | 151 | $template->add_ref($j, 'POST', array( 'TITLE' => htmlentities($post['title']), |
152 | 'AUTHOR' => $post['author'], | 152 | 'AUTHOR' => $post['author'], |
153 | 'ID' => $post['id'], | 153 | 'ID' => $post['id'], |
154 | 'CODED' => $post['slug'], | 154 | 'CODED' => $post['slug'], |