Browse Source

Fixed "Downloading a SmartAlbum results in crash" #652

Tobias Reich 3 years ago
parent
commit
767d97780b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      php/Modules/Album.php

+ 0 - 2
php/Modules/Album.php

@@ -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');