From a627cdcf7dcc44b0456421c920c6197fc5c36a96 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 27 Jan 2013 19:02:03 -0800 Subject: still no social graph - oh maybe it's because the observer hash isn't valid and everybody's permission is denied. Well it's just another bug, but not the real bug. We're connecting as anonymous so that shouldn't make a difference. --- mod/poco.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/poco.php') diff --git a/mod/poco.php b/mod/poco.php index f87bd8a68..e551f95ef 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -46,7 +46,7 @@ function poco_init(&$a) { $channel_id = $r[0]['channel_id']; - if(! perm_is_allowed($channel_id,$observer,'view_contacts')) + if(! perm_is_allowed($channel_id,$observer['xchan_hash'],'view_contacts')) http_status_exit(404); } -- cgit v1.2.3