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