Skip to content

Commit

Permalink
[TASK] Code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbltr committed Jul 19, 2024
1 parent 4946d83 commit 2eb1afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Indexer/Types/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function startIndexing()
// respect configured doktypes but ensure it's only a commaseparated list of integer values to avoid a SQL injection.
if (!empty($this->indexerConfig['index_page_doctypes'])) {
$indexerConfigDoktypes = GeneralUtility::intExplode(',', $this->indexerConfig['index_page_doctypes'], true);
$dokTypes= implode(',', array_unique(array_merge([1, 2, 4, 5, 254], $indexerConfigDoktypes)));
$dokTypes = implode(',', array_unique(array_merge([1, 2, 4, 5, 254], $indexerConfigDoktypes)));
$where = 'doktype in (' . $dokTypes . ')';
}

Expand Down

0 comments on commit 2eb1afb

Please sign in to comment.