diff options
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/text.php b/include/text.php index 6e4402a9f..7f6e87d3b 100644 --- a/include/text.php +++ b/include/text.php @@ -1111,16 +1111,14 @@ function linkify($s, $me = false) { function sslify($s) { // Local photo cache - if(local_channel()) { - $str = array( - 'body' => $s, - 'uid' => local_channel() - ); - call_hooks('cache_body_hook', $str); - - $s = $str['body']; - } + $str = array( + 'body' => $s, + 'uid' => local_channel() + ); + call_hooks('cache_body_hook', $str); + $s = $str['body']; + if (strpos(z_root(),'https:') === false) return $s; |