]> git.mxchange.org Git - friendica.git/blobdiff - mod/lockview.php
Merge pull request #2158 from annando/1512-vier-fonts
[friendica.git] / mod / lockview.php
index 0307103f87ab53dd3815fc1147efdc6c410f8b80..0ae54c8c125f92d07616113a7b52865e3d61fed1 100644 (file)
@@ -24,8 +24,13 @@ function lockview_content(&$a) {
        if(! count($r))
                killme();
        $item = $r[0];
-       if($item['uid'] != local_user())
+
+       call_hooks('lockview_content', $item);
+
+       if($item['uid'] != local_user()) {
+               echo t('Remote privacy information not available.') . '<br />';
                killme();
+       }
 
 
        if(($item['private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))