Skip to content

Commit

Permalink
chore: use correct coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
runepiper committed Mar 6, 2024
1 parent b4e8f35 commit 53d42b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/SearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function search(string $query, string $sorting = 'crdate_desc', array $ty
// Filter by checking the rootPageId is in the rootline
'filter' => [
'rootPageId = ' . $GLOBALS['TSFE']->getSite()->getRootPageId(),
'languageId IN [-1,' . $GLOBALS['TSFE']->getLanguage()->getLanguageId() .']',
'languageId IN [-1,' . $GLOBALS['TSFE']->getLanguage()->getLanguageId() . ']',
$typesFilter,
],
]);
Expand Down

0 comments on commit 53d42b7

Please sign in to comment.