Browse Source

More code standard

pull/6482/head
fabrixxm 3 years ago
committed by Hypolite Petovan
parent
commit
07d358adc1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/Photo.php

+ 1
- 1
src/Module/Photo.php 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);


Loading…
Cancel
Save