diff --git a/php/modules/Album.php b/php/modules/Album.php index ac316a6..97c23e2 100644 --- a/php/modules/Album.php +++ b/php/modules/Album.php @@ -99,7 +99,7 @@ class Album extends Module { $photo['nextPhoto'] = ''; $photo['thumbUrl'] = LYCHEE_URL_UPLOADS_THUMB . $photo['thumbUrl']; - if ($photo['takestamp']!=='0') { + if (isset($photo['takestamp'])&&$photo['takestamp']!=='0') { $photo['cameraDate'] = 1; $photo['sysdate'] = date('d F Y', $photo['takestamp']); }