feature_enabled() only takes two arguments

This commit is contained in:
Mario Vavti 2016-10-04 21:11:11 +02:00
parent 4b91d4b5c3
commit c089d30915
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -50,4 +50,4 @@ class Features {
return $o;
}
}
}