aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photo.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index f96d478f2..a73492ae2 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -164,7 +164,7 @@ class Photo extends \Zotlabs\Web\Controller {
);
if($cache_mode['on'])
call_hooks('cache_url_hook', $cache);
- if((! (local_channel() || $cache_mode['leak'])) || (! $cache['status'])) {
+ if(! $cache['status'] && $cache_mode['leak']) {
header("Location: " . htmlspecialchars_decode($r[0]['display_path']));
killme();
}