diff --git a/src/Module/Photo.php b/src/Module/Photo.php index 8ce0c2674..a8e630fd0 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -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);