provide some info to not local users

This commit is contained in:
marijus 2014-03-28 19:39:58 +01:00
parent 6925cf9fe5
commit 18f30cf281

View File

@ -26,8 +26,10 @@ function lockview_content(&$a) {
$item = $r[0];
if($item['uid'] != local_user())
if($item['uid'] != local_user()) {
echo '<li>' . t('Remote privacy information not available.') . '</li>';
killme();
}
if(($item['item_private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
&& (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {