aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Search/SectionSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Search/SectionSearch.php')
-rw-r--r--apps/settings/lib/Search/SectionSearch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Search/SectionSearch.php b/apps/settings/lib/Search/SectionSearch.php
index 08a6f9f76b0..52f0c9b08db 100644
--- a/apps/settings/lib/Search/SectionSearch.php
+++ b/apps/settings/lib/Search/SectionSearch.php
@@ -110,8 +110,8 @@ class SectionSearch implements IProvider {
foreach ($sections as $priority => $sectionsByPriority) {
foreach ($sectionsByPriority as $section) {
if (
- stripos($section->getName(), $query->getTerm()) === false &&
- stripos($section->getID(), $query->getTerm()) === false
+ stripos($section->getName(), $query->getTerm()) === false
+ && stripos($section->getID(), $query->getTerm()) === false
) {
continue;
}