Skip to content

Commit

Permalink
[BUGFIX:BP:11.2] changed from always picking the 0 array value to pic…
Browse files Browse the repository at this point in the history
…k always the first.

Ports: #3068
  • Loading branch information
fabio.norbutat authored and dkd-friedrich committed Apr 5, 2023
1 parent df8ee59 commit 0c1b074
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private function initializeFirstAvailableSolrCoreConnection(array $solrCoreConne
if (empty($solrCoreConnections)) {
return;
}
$this->selectedSolrCoreConnection = $solrCoreConnections[0];
$this->selectedSolrCoreConnection = array_shift($solrCoreConnections);
$moduleData->setCore($this->selectedSolrCoreConnection->getAdminService()->getCorePath());
$this->moduleDataStorageService->persistModuleData($moduleData);
}
Expand Down

0 comments on commit 0c1b074

Please sign in to comment.