diff options
Diffstat (limited to 'admin/modquotes.php')
-rwxr-xr-x | admin/modquotes.php | 2 |
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 | } |