aboutsummaryrefslogtreecommitdiffstats
path: root/mod/lockview.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-08-18 21:25:02 +0200
committermarijus <mario@mariovavti.com>2014-08-18 21:25:02 +0200
commit953c8ac68675d2f866489b040e2defea855f5c83 (patch)
treea2b9980eed8c7bf75c180ea7efa0bc7dae030f18 /mod/lockview.php
parentd9ff121930554aa9bcad4f4ceffeb9b5e3b83d17 (diff)
downloadvolse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.tar.gz
volse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.tar.bz2
volse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.zip
make lockview provide the right info
Diffstat (limited to 'mod/lockview.php')
-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();
+ }
}