]> git.mxchange.org Git - friendica.git/commitdiff
More code standard
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 21 Nov 2018 14:12:11 +0000 (15:12 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 13:57:30 +0000 (08:57 -0500)
src/Module/Photo.php

index 8ce0c2674e619fbbefd29bfd70c1cf46ebf11e53..a8e630fd0a3f37fc99ed3645a23fef926a3d3d00 100644 (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);