aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-30 17:06:50 -0700
committerzotlabs <mike@macgirvin.com>2017-05-30 17:06:50 -0700
commit893ae17b99d1a1a720a58879e8075fc9bb1de087 (patch)
tree69dfaf2acc1cb07642acb99c512014216b6e02cf /Zotlabs/Module
parente48d5383cec4f5e7bd40bbac005819d60f38c970 (diff)
downloadvolse-hubzilla-893ae17b99d1a1a720a58879e8075fc9bb1de087.tar.gz
volse-hubzilla-893ae17b99d1a1a720a58879e8075fc9bb1de087.tar.bz2
volse-hubzilla-893ae17b99d1a1a720a58879e8075fc9bb1de087.zip
provide ability to search webpages (either public or which contain the observer in the acl) in addition to conversations
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index aacdc88e7..a78a023ff 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -15,7 +15,7 @@ class Search extends \Zotlabs\Web\Controller {
if((get_config('system','block_public')) || (get_config('system','block_public_search'))) {
if ((! local_channel()) && (! remote_channel())) {
notice( t('Public access denied.') . EOL);
- return;
+ return;
}
}
@@ -144,7 +144,7 @@ class Search extends \Zotlabs\Web\Controller {
}
- $item_normal = item_normal();
+ $item_normal = item_normal_search();
$pub_sql = public_permissions_sql($observer_hash);
require_once('include/channel.php');