$query = "SELECT id, title, tags, sysdate, public, star, album, thumbUrl FROM lychee_photos WHERE album = '$this->albumIDs' " . $this->settings['sorting'];
$query = "SELECT id, title, tags, public, star, album, thumbUrl FROM lychee_photos WHERE album = '$this->albumIDs' " . $this->settings['sorting'];
break;
}
@ -85,7 +85,7 @@ class Album extends Module {
while($photo = $photos->fetch_assoc()) {
# Parse
$photo['sysdate'] = date('d F Y', strtotime($photo['sysdate']));
$photo['sysdate'] = date('d F Y', substr($photo['id'], 0, -4));