diff options
author | Max Kostikov <max@kostikov.co> | 2018-12-03 21:21:23 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-12-03 21:21:23 +0100 |
commit | b586fcebabfad0c062deb3070d1679414595dc95 (patch) | |
tree | d6160a124c9d0e84aa0a30e34b69dde905dc1b8b | |
parent | 244c0d828a31447cb215251d88b0123508f0101d (diff) | |
download | volse-hubzilla-b586fcebabfad0c062deb3070d1679414595dc95.tar.gz volse-hubzilla-b586fcebabfad0c062deb3070d1679414595dc95.tar.bz2 volse-hubzilla-b586fcebabfad0c062deb3070d1679414595dc95.zip |
Update Photo.php
-rw-r--r-- | Zotlabs/Module/Photo.php | 2 |
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(); } |