aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}