related to #1693 fix php errors in picture edit

This commit is contained in:
Matthieu Leproux
2022-07-26 15:48:20 +02:00
committed by plegall
parent 1e85985a0c
commit df9b2df0c6

View File

@@ -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'