mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
related to #1693 php8.1 compat for comments in gallery and album edit in admin
This commit is contained in:
committed by
plegall
parent
8ec890bdb7
commit
1e85985a0c
+2
-2
@@ -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'])) : "",
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user