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/posts.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/posts.php')
-rw-r--r-- | admin/posts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/posts.php b/admin/posts.php index 605db30..d2e34c5 100644 --- a/admin/posts.php +++ b/admin/posts.php | |||
@@ -82,7 +82,7 @@ foreach ($pager->getPageData() as $post) | |||
82 | { | 82 | { |
83 | if (!empty($post)) | 83 | if (!empty($post)) |
84 | { | 84 | { |
85 | $template->adds_block('POST', array( 'TITLE' => $post['title'], | 85 | $template->adds_block('POST', array( 'TITLE' => htmlentities($post['title']), |
86 | 'AUTHOR' => $post['author'], | 86 | 'AUTHOR' => $post['author'], |
87 | 'ID' => $post['id'], | 87 | 'ID' => $post['id'], |
88 | 'CODED' => $post['slug'], | 88 | 'CODED' => $post['slug'], |