aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-03-28 19:39:58 +0100
committermarijus <mario@mariovavti.com>2014-03-28 19:39:58 +0100
commit18f30cf28174509ab7a89b8fad6c0667b69f4059 (patch)
tree31b1b0104a61b0c12274c0f4cd3cff0a214f0392
parent6925cf9fe55e5a420fbe7385dd170d8dd7a65d57 (diff)
downloadvolse-hubzilla-18f30cf28174509ab7a89b8fad6c0667b69f4059.tar.gz
volse-hubzilla-18f30cf28174509ab7a89b8fad6c0667b69f4059.tar.bz2
volse-hubzilla-18f30cf28174509ab7a89b8fad6c0667b69f4059.zip
provide some info to not local users
-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']))) {