More code standard

This commit is contained in:
fabrixxm 2018-11-21 15:12:11 +01:00 committed by Hypolite Petovan
parent 9317a1c054
commit 07d358adc1

View File

@ -78,7 +78,7 @@ class Photo extends BaseModule
killme();
}
$cacheable = ($photo["allow_cid"].$photo["allow_gid"].$photo["deny_cid"].$photo["deny_gid"] === "") && (isset($photo["cacheable"])?$photo["cacheable"]:true);
$cacheable = ($photo["allow_cid"] . $photo["allow_gid"] . $photo["deny_cid"] . $photo["deny_gid"] === "") && (isset($photo["cacheable"]) ? $photo["cacheable"] : true);
$img = MPhoto::getImageForPhoto($photo);