summary refs log tree commit diff stats
path: root/admin/polls.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/polls.php')
-rw-r--r--admin/polls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/polls.php b/admin/polls.php index 8e1465c..e4239fa 100644 --- a/admin/polls.php +++ b/admin/polls.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['question'], 85 $template->adds_block('POST', array( 'TITLE' => htmlentities($post['question']),
86 'ID' => $post['id'], 86 'ID' => $post['id'],
87 'ODD' => ($j % 2 ? '' : ' class="odd"'))); 87 'ODD' => ($j % 2 ? '' : ' class="odd"')));
88 } 88 }