summary refs log tree commit diff stats
path: root/admin/modquotes.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/modquotes.php')
-rwxr-xr-xadmin/modquotes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/modquotes.php b/admin/modquotes.php index 8340fd1..9ec6013 100755 --- a/admin/modquotes.php +++ b/admin/modquotes.php
@@ -120,7 +120,7 @@ foreach ($pager->getPageData() as $quote)
120{ 120{
121 if (!empty($quote)) 121 if (!empty($quote))
122 { 122 {
123 $template->adds_block('QUOTE', array( 'TEXT' => str_replace("\n","<br />",htmlentities(stripslashes($quote['quote']))), 123 $template->adds_block('QUOTE', array( 'TEXT' => str_replace("\n","<br />",htmlspecialchars($quote['quote'])),
124 'ID' => $quote['id'], 124 'ID' => $quote['id'],
125 'ODD' => ($j % 2 ? '' : ' class="odd"'))); 125 'ODD' => ($j % 2 ? '' : ' class="odd"')));
126 } 126 }