Code adjustment #488

This commit is contained in:
Tobias Reich 2016-03-17 09:35:12 +01:00
parent aba1629f31
commit ea3921b5d9

View File

@ -846,7 +846,7 @@ final class Photo {
// Get extension
$extension = getExtension($photo->url, true);
if (empty($extension)) {
if (empty($extension)===true) {
Log::error(Database::get(), __METHOD__, __LINE__, 'Invalid photo extension');
return false;
}