suppose I should do this right.

This commit is contained in:
friendica 2013-01-27 19:05:51 -08:00
parent a627cdcf7d
commit 1dbd160392

View File

@ -46,7 +46,7 @@ function poco_init(&$a) {
$channel_id = $r[0]['channel_id'];
if(! perm_is_allowed($channel_id,$observer['xchan_hash'],'view_contacts'))
if(! perm_is_allowed($channel_id,(($observer) ? $observer['xchan_hash'] : ''),'view_contacts'))
http_status_exit(404);
}