aboutsummaryrefslogtreecommitdiffstats
path: root/mod/lockview.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/lockview.php')
-rw-r--r--mod/lockview.php4
1 files changed, 3 insertions, 1 deletions
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 '<li>' . t('Remote privacy information not available.') . '</li>';
killme();
+ }
if(($item['item_private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
&& (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {