aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-03-29 07:31:28 +1100
committerRedMatrix <info@friendica.com>2014-03-29 07:31:28 +1100
commit96525126f682d69e616cc64b9db56e8ec7b29316 (patch)
tree31b1b0104a61b0c12274c0f4cd3cff0a214f0392
parent6925cf9fe55e5a420fbe7385dd170d8dd7a65d57 (diff)
parent18f30cf28174509ab7a89b8fad6c0667b69f4059 (diff)
downloadvolse-hubzilla-96525126f682d69e616cc64b9db56e8ec7b29316.tar.gz
volse-hubzilla-96525126f682d69e616cc64b9db56e8ec7b29316.tar.bz2
volse-hubzilla-96525126f682d69e616cc64b9db56e8ec7b29316.zip
Merge pull request #382 from git-marijus/master
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']))) {