diff options
author | Max Kostikov <max@kostikov.co> | 2018-12-03 21:33:32 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-12-03 21:33:32 +0100 |
commit | 1c44912aff2c7f026fe1e5e74eb1d70920d17747 (patch) | |
tree | e9132d0dc702fdeb5712fa660a81ad63bb876a37 /Zotlabs/Module/Photo.php | |
parent | b586fcebabfad0c062deb3070d1679414595dc95 (diff) | |
download | volse-hubzilla-1c44912aff2c7f026fe1e5e74eb1d70920d17747.tar.gz volse-hubzilla-1c44912aff2c7f026fe1e5e74eb1d70920d17747.tar.bz2 volse-hubzilla-1c44912aff2c7f026fe1e5e74eb1d70920d17747.zip |
Update Photo.php
Diffstat (limited to 'Zotlabs/Module/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 a73492ae2..ddff3a68e 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(! $cache['status'] && $cache_mode['leak']) { + if(! $cache['status']) { header("Location: " . htmlspecialchars_decode($r[0]['display_path'])); killme(); } |