don't try to globalsearch specific 'settings' search
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -88,7 +88,11 @@ class GlobalSearch
|
||||
|
||||
if (preg_match('/^([a-z]+):$/', $searchtext, $matches)) {
|
||||
$module = $matches[1];
|
||||
continue;
|
||||
if ($matches[1] == 'settings') {
|
||||
break;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// admin
|
||||
|
||||
Reference in New Issue
Block a user