Skip to content

Commit

Permalink
[BUGFIX] AbstractSolrTask::setRootPageId(): Argument #1 () must be of…
Browse files Browse the repository at this point in the history
… type int, string given

Fixes: #3267
Ports: #3268
  • Loading branch information
Christopher Schnell authored and dkd-kaehm committed Jul 16, 2022
1 parent eab5887 commit 506b540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Task/OptimizeIndexTaskAdditionalFieldProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function saveAdditionalFields(
}

$task->/** @scrutinizer ignore-call */
setRootPageId($submittedData['site']);
setRootPageId((int)$submittedData['site']);

$cores = [];
if (!empty($submittedData['cores'])) {
Expand Down

0 comments on commit 506b540

Please sign in to comment.