diff options
-rw-r--r-- | mod/lockview.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mod/lockview.php b/mod/lockview.php index 93baede9d..9e64e2608 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -48,7 +48,6 @@ function lockview_content(&$a) { dbesc(implode(', ', $allowed_groups)) ); if(count($r)) - if($item['uid'] != local_user()) foreach($r as $rr) $l[] = '<b>' . $rr['name'] . '</b>'; } @@ -80,11 +79,7 @@ function lockview_content(&$a) { } - if (count($l)>0) { - echo $o . implode(', ', $l); - } else { - echo $o . t('nobody'); - } + echo $o . implode(', ', $l); killme(); } |