aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
committerfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
commite157371c39121db472cbc45b59ac89d847788648 (patch)
tree6673eebe64ae63d369fd139bb0fbbecfa20012d3 /mod/search.php
parenta4960360669daa0a0c842427185ce1ada3b4ab97 (diff)
downloadvolse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.gz
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.bz2
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.zip
remote_user => remote_channel
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search.php b/mod/search.php
index ff7eb0731..02b250bbe 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -9,7 +9,7 @@ function search_init(&$a) {
function search_content(&$a,$update = 0, $load = false) {
if((get_config('system','block_public')) || (get_config('system','block_public_search'))) {
- if ((! local_channel()) && (! remote_user())) {
+ if ((! local_channel()) && (! remote_channel())) {
notice( t('Public access denied.') . EOL);
return;
}