related to #1693 no undefined variables in batch manager

This commit is contained in:
Matthieu Leproux
2022-07-20 16:15:08 +02:00
committed by plegall
parent aeb1d2b80b
commit 8ec890bdb7

View File

@@ -222,10 +222,10 @@ SELECT
'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image),
'LEGEND' => $legend,
'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'],
'NAME' => htmlspecialchars(@$row['name']),
'AUTHOR' => htmlspecialchars(@$row['author']),
'NAME' => htmlspecialchars(isset($row['name']) ? $row['name'] : ""),
'AUTHOR' => htmlspecialchars(isset($row['author']) ? $row['author'] : ""),
'LEVEL' => !empty($row['level'])?$row['level']:'0',
'DESCRIPTION' => htmlspecialchars(@$row['comment']),
'DESCRIPTION' => htmlspecialchars(isset($row['comment']) ? $row['comment'] : ""),
'DATE_CREATION' => $row['date_creation'],
'TAGS' => $tag_selection,
)