mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 10:13:00 +02:00
bug 1757 fixed: ability to use HTML in author field
git-svn-id: http://piwigo.org/svn/branches/2.1@6713 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -236,7 +236,11 @@ $template->assign(
|
||||
|
||||
'REGISTRATION_DATE' => format_date($row['date_available']),
|
||||
|
||||
'AUTHOR' => isset($_POST['author']) ? $_POST['author'] : @$row['author'],
|
||||
'AUTHOR' => htmlspecialchars(
|
||||
isset($_POST['author'])
|
||||
? stripslashes($_POST['author'])
|
||||
: @$row['author']
|
||||
),
|
||||
|
||||
'DESCRIPTION' =>
|
||||
htmlspecialchars( isset($_POST['description']) ?
|
||||
|
||||
Reference in New Issue
Block a user