aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Directory.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-10-04 21:11:11 +0200
committerMario Vavti <mario@mariovavti.com>2016-10-04 21:12:03 +0200
commite259503933c5905d47be88f5df9ad4039f2feccb (patch)
tree938051b361ed1f147dc97294db646e8156c78020 /Zotlabs/Module/Directory.php
parent4e07b4c0e8d5eefd934f559b33e10526519ec6e9 (diff)
downloadvolse-hubzilla-e259503933c5905d47be88f5df9ad4039f2feccb.tar.gz
volse-hubzilla-e259503933c5905d47be88f5df9ad4039f2feccb.tar.bz2
volse-hubzilla-e259503933c5905d47be88f5df9ad4039f2feccb.zip
feature_enabled() only takes two arguments
Diffstat (limited to 'Zotlabs/Module/Directory.php')
-rw-r--r--Zotlabs/Module/Directory.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index 691e48520..4ee49cb64 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -84,10 +84,9 @@ class Directory extends \Zotlabs\Web\Controller {
$search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
- if(strpos($search,'=') && local_channel() && feature_enabled(local_channel(),'feature','advanced_dirsearch'))
+ if(strpos($search,'=') && local_channel() && feature_enabled(local_channel(), 'advanced_dirsearch'))
$advanced = $search;
-
$keywords = (($_GET['keywords']) ? $_GET['keywords'] : '');
// Suggest channels if no search terms or keywords are given