mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1693 fix error in form validation in picture modify
This commit is contained in:
@@ -258,14 +258,14 @@ $template->assign(
|
||||
'AUTHOR' => htmlspecialchars(
|
||||
isset($_POST['author'])
|
||||
? stripslashes($_POST['author'])
|
||||
: ""
|
||||
: (empty($row['author']) ? '' : $row['author'])
|
||||
),
|
||||
|
||||
'DATE_CREATION' => $row['date_creation'],
|
||||
|
||||
'DESCRIPTION' =>
|
||||
htmlspecialchars( isset($_POST['description']) ?
|
||||
stripslashes($_POST['description']) : ""),
|
||||
stripslashes($_POST['description']) : (empty($row['comment']) ? '' : $row['comment'])),
|
||||
|
||||
'F_ACTION' =>
|
||||
get_root_url().'admin.php'
|
||||
|
||||
Reference in New Issue
Block a user