aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
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:11:11 +0200
commitc089d30915277af5ed084117ab08b388fa5c5275 (patch)
tree316dfd9c235b3e778cc5ad92a87b626a073dd5f2 /Zotlabs
parent4b91d4b5c3036f01a14049cfb04423aef7da611d (diff)
downloadvolse-hubzilla-c089d30915277af5ed084117ab08b388fa5c5275.tar.gz
volse-hubzilla-c089d30915277af5ed084117ab08b388fa5c5275.tar.bz2
volse-hubzilla-c089d30915277af5ed084117ab08b388fa5c5275.zip
feature_enabled() only takes two arguments
Diffstat (limited to 'Zotlabs')
-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
+}