diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-26 12:24:23 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-10-26 12:24:23 +0200 |
commit | 6f2a5842795c94a16bad089cb6ad5c9e2a74f480 (patch) | |
tree | 9e3317136ce4539ea4d6fd37a18396aeeef86e3c | |
parent | de717268f76b2033bfa4a9db88e45a7a0d52f742 (diff) | |
download | volse-hubzilla-6f2a5842795c94a16bad089cb6ad5c9e2a74f480.tar.gz volse-hubzilla-6f2a5842795c94a16bad089cb6ad5c9e2a74f480.tar.bz2 volse-hubzilla-6f2a5842795c94a16bad089cb6ad5c9e2a74f480.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 1a6a7b6a8..fe8c47544 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -160,7 +160,7 @@ class Photo extends \Zotlabs\Web\Controller { if($cache_mode['on']) { $cache = [ 'status' => false, 'item' => $r[0] ]; call_hooks('cache_url_hook', $cache); - if($cache['status']) { + if(! $cache['status']) { $url = html_entity_decode($cache['item']['display_path'], ENT_QUOTES); // SSLify if needed if(strpos(z_root(),'https:') !== false && strpos($url,'https:') === false) |