diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index 50d463246..7304fbe40 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -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, )