aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-04-10 04:28:31 +0000
committerrvelices <rv-github@modusoptimus.com>2014-04-10 04:28:31 +0000
commitddb1632bf993b51e9bd22c4599dd38ee2351d4e8 (patch)
treeb477272631d18991bac7378b9b898f594b1d7165 /comments.php
parent40baa4280617e369c125ef9a2b26c25524c28e34 (diff)
fix
git-svn-id: http://piwigo.org/svn/trunk@28147 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php
index 9230d41ca..fa59e0917 100644
--- a/comments.php
+++ b/comments.php
@@ -303,8 +303,8 @@ $template->set_filenames(array('comments'=>'comments.tpl'));
$template->assign(
array(
'F_ACTION'=>PHPWG_ROOT_PATH.'comments.php',
- 'F_KEYWORD'=> @htmlspecialchars(stripslashes($_GET['keyword'], ENT_QUOTES, 'utf-8')),
- 'F_AUTHOR'=> @htmlspecialchars(stripslashes($_GET['author'], ENT_QUOTES, 'utf-8')),
+ 'F_KEYWORD'=> htmlspecialchars(stripslashes($_GET['keyword'])),
+ 'F_AUTHOR'=> htmlspecialchars(stripslashes($_GET['author'])),
)
);