aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-27 19:02:03 -0800
committerfriendica <info@friendica.com>2013-01-27 19:02:03 -0800
commita627cdcf7dcc44b0456421c920c6197fc5c36a96 (patch)
treeac1ef410a6b0c88153db94707893d05862603dcd /mod/poco.php
parent096ff372eebe7d53ccf7b8e7972e370f1932b747 (diff)
downloadvolse-hubzilla-a627cdcf7dcc44b0456421c920c6197fc5c36a96.tar.gz
volse-hubzilla-a627cdcf7dcc44b0456421c920c6197fc5c36a96.tar.bz2
volse-hubzilla-a627cdcf7dcc44b0456421c920c6197fc5c36a96.zip
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.
Diffstat (limited to 'mod/poco.php')
-rw-r--r--mod/poco.php2
1 files changed, 1 insertions, 1 deletions
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);
}