From 18f30cf28174509ab7a89b8fad6c0667b69f4059 Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 28 Mar 2014 19:39:58 +0100 Subject: provide some info to not local users --- mod/lockview.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/lockview.php b/mod/lockview.php index b4a00dd81..0ea708c80 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -26,8 +26,10 @@ function lockview_content(&$a) { $item = $r[0]; - if($item['uid'] != local_user()) + if($item['uid'] != local_user()) { + echo '
  • ' . t('Remote privacy information not available.') . '
  • '; killme(); + } if(($item['item_private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid'])) && (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) { -- cgit v1.2.3