diff options
author | marijus <mario@mariovavti.com> | 2014-08-18 21:25:02 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-08-18 21:25:02 +0200 |
commit | 953c8ac68675d2f866489b040e2defea855f5c83 (patch) | |
tree | a2b9980eed8c7bf75c180ea7efa0bc7dae030f18 /mod | |
parent | d9ff121930554aa9bcad4f4ceffeb9b5e3b83d17 (diff) | |
download | volse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.tar.gz volse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.tar.bz2 volse-hubzilla-953c8ac68675d2f866489b040e2defea855f5c83.zip |
make lockview provide the right info
Diffstat (limited to 'mod')
-rw-r--r-- | mod/lockview.php | 9 |
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(); + } } |