Skip to content

Commit

Permalink
[BUGFIX:BP:11.5] 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 47b2b0f commit e36eae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,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 e36eae5

Please sign in to comment.