Fixed "Downloading a SmartAlbum results in crash" #652

pull/687/head
Tobias Reich 8 years ago
parent d050935981
commit 767d97780b

@ -255,8 +255,6 @@ final class Album {
// Execute query
$photos = Database::execute(Database::get(), $photos, __METHOD__, __LINE__);
if ($album===null) return false;
// Check if album empty
if ($photos->num_rows==0) {
Log::error(Database::get(), __METHOD__, __LINE__, 'Could not create ZipArchive without images');

Loading…
Cancel
Save