aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-08-19 06:54:31 +1000
committerRedMatrix <info@friendica.com>2014-08-19 06:54:31 +1000
commit4ab14387df02fee4957ca21fc71a1626c251be96 (patch)
treea2b9980eed8c7bf75c180ea7efa0bc7dae030f18
parentd9ff121930554aa9bcad4f4ceffeb9b5e3b83d17 (diff)
parent953c8ac68675d2f866489b040e2defea855f5c83 (diff)
downloadvolse-hubzilla-4ab14387df02fee4957ca21fc71a1626c251be96.tar.gz
volse-hubzilla-4ab14387df02fee4957ca21fc71a1626c251be96.tar.bz2
volse-hubzilla-4ab14387df02fee4957ca21fc71a1626c251be96.zip
Merge pull request #568 from git-marijus/master
make lockview provide the right info
-rw-r--r--mod/lockview.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/mod/lockview.php b/mod/lockview.php
index 8903bdec6..86d238593 100644
--- a/mod/lockview.php
+++ b/mod/lockview.php
@@ -26,11 +26,6 @@ function lockview_content(&$a) {
$item = $r[0];
- if(array_key_exists('public_policy',$item) && $item['public_policy']) {
- echo '<li>' . translate_scope($item['public_policy']) . '</li>';
- killme();
- }
-
if($item['uid'] != local_user()) {
echo '<li>' . t('Remote privacy information not available.') . '</li>';
killme();
@@ -83,4 +78,8 @@ function lockview_content(&$a) {
echo $o . implode($l);
killme();
+ if(array_key_exists('public_policy',$item) && $item['public_policy']) {
+ echo '<li>' . translate_scope($item['public_policy']) . '</li>';
+ killme();
+ }
}