We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2572124 commit 7fba40aCopy full SHA for 7fba40a
setup/src/Magento/Setup/Model/MarketplaceManager.php
@@ -162,8 +162,8 @@ public function syncPackagesForInstall()
162
$packageNames = array_column($this->getComposerInformation()->getInstalledMagentoPackages(), 'name');
163
$installPackages = [];
164
foreach ($packagesJsonData['packages'] as $packageName => $package) {
165
- $package = $this->unsetDevVersions($package);
166
- if (!empty($package)) {
+ if (isset($package) && is_array($package)) {
+ $package = $this->unsetDevVersions($package);
167
ksort($package);
168
$packageValues = array_values($package);
169
if ($this->isNewUserPackage($packageValues[0], $packageNames)) {
0 commit comments