Fix uninitialized var, fixes #2539
parent
1b789d5226
commit
a5c6319d46
|
@ -55,6 +55,7 @@ EOT
|
||||||
|
|
||||||
$versionParser = new VersionParser;
|
$versionParser = new VersionParser;
|
||||||
|
|
||||||
|
$packages = array();
|
||||||
foreach ($repo->getPackages() as $package) {
|
foreach ($repo->getPackages() as $package) {
|
||||||
$packages[$package->getName()] = $package;
|
$packages[$package->getName()] = $package;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue