aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
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
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')
-rw-r--r--Zotlabs/Module/Directory.php3
-rw-r--r--Zotlabs/Module/Settings/Features.php2
2 files changed, 2 insertions, 3 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
diff --git a/Zotlabs/Module/Settings/Features.php b/Zotlabs/Module/Settings/Features.php
index 2d9bc0c88..5b642acc3 100644
--- a/Zotlabs/Module/Settings/Features.php
+++ b/Zotlabs/Module/Settings/Features.php
@@ -50,4 +50,4 @@ class Features {
return $o;
}
-} \ No newline at end of file
+}