From 953c8ac68675d2f866489b040e2defea855f5c83 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 18 Aug 2014 21:25:02 +0200 Subject: make lockview provide the right info --- mod/lockview.php | 9 ++++----- 1 file 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 '
  • ' . translate_scope($item['public_policy']) . '
  • '; - killme(); - } - if($item['uid'] != local_user()) { echo '
  • ' . t('Remote privacy information not available.') . '
  • '; 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 '
  • ' . translate_scope($item['public_policy']) . '
  • '; + killme(); + } } -- cgit v1.2.3