Skip to content

Commit

Permalink
Modules sort order in config.php is being inconsistent when no change…
Browse files Browse the repository at this point in the history
…s being made magento#16116
  • Loading branch information
volodyaprokopchuk committed Jun 14, 2018
1 parent 695aaf8 commit 488a909
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/internal/Magento/Framework/Module/ModuleList/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ private function sortBySequence($origList)
ksort($origList);
$expanded = [];
foreach ($origList as $moduleName => $value) {
$sequence = $this->expandSequence($origList, $moduleName);
asort($sequence);
$expanded[] = [
'name' => $moduleName,
'sequence' => $this->expandSequence($origList, $moduleName),
'sequence' => $sequence,
];
}

Expand Down

0 comments on commit 488a909

Please sign in to comment.