From df9b2df0c615546b77b29188f93858a90cdebf42 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Tue, 26 Jul 2022 15:48:20 +0200 Subject: [PATCH] related to #1693 fix php errors in picture edit --- admin/picture_modify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/picture_modify.php b/admin/picture_modify.php index bc86a5be8..aa0357c3d 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -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'