Code adjustment #488
This commit is contained in:
parent
aba1629f31
commit
ea3921b5d9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user