related to #1693 php8.1 compat for comments in gallery and album edit in admin

This commit is contained in:
Matthieu Leproux
2022-07-26 14:30:39 +02:00
committed by plegall
parent 8ec890bdb7
commit 1e85985a0c
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -285,8 +285,8 @@ $template->set_filenames(array('comments'=>'comments.tpl', 'comment_list'=>'comm
$template->assign(
array(
'F_ACTION'=>PHPWG_ROOT_PATH.'comments.php',
'F_KEYWORD'=> htmlspecialchars(stripslashes(@$_GET['keyword'])),
'F_AUTHOR'=> htmlspecialchars(stripslashes(@$_GET['author'])),
'F_KEYWORD'=> isset($_GET['keyword']) ? htmlspecialchars(stripslashes($_GET['keyword'])) : "",
'F_AUTHOR'=> isset($_GET['author']) ? htmlspecialchars(stripslashes($_GET['author'])) : "",
)
);