More code standard
This commit is contained in:
parent
9317a1c054
commit
07d358adc1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user