Update Photo.php

This commit is contained in:
Max Kostikov 2018-12-03 13:29:27 +01:00
parent 57ebd7e170
commit 244c0d828a

View File

@ -160,7 +160,7 @@ class Photo extends \Zotlabs\Web\Controller {
$cache = array( $cache = array(
'resid' => $photo, 'resid' => $photo,
'uid' => $r[0]['uid'], 'uid' => $r[0]['uid'],
'status' => true 'status' => false
); );
if($cache_mode['on']) if($cache_mode['on'])
call_hooks('cache_url_hook', $cache); call_hooks('cache_url_hook', $cache);