aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-27 19:05:51 -0800
committerfriendica <info@friendica.com>2013-01-27 19:05:51 -0800
commit1dbd16039278e21c13e196399bccf3418c602d6a (patch)
tree540a011093287aac3acb028c493ad1b96fc73b7f /mod
parenta627cdcf7dcc44b0456421c920c6197fc5c36a96 (diff)
downloadvolse-hubzilla-1dbd16039278e21c13e196399bccf3418c602d6a.tar.gz
volse-hubzilla-1dbd16039278e21c13e196399bccf3418c602d6a.tar.bz2
volse-hubzilla-1dbd16039278e21c13e196399bccf3418c602d6a.zip
suppose I should do this right.
Diffstat (limited to 'mod')
-rw-r--r--mod/poco.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/poco.php b/mod/poco.php
index e551f95ef..86b300c61 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['xchan_hash'],'view_contacts'))
+ if(! perm_is_allowed($channel_id,(($observer) ? $observer['xchan_hash'] : ''),'view_contacts'))
http_status_exit(404);
}