1
0
Fork 0

Use the locked package for the update operation

pull/1133/head
Chris Smith 2012-09-21 00:52:19 +01:00
parent 6bd7ca0230
commit 3281a0b5df
1 changed files with 1 additions and 3 deletions

View File

@ -394,9 +394,7 @@ class Installer
&& $lockedPackage->getSourceReference()
&& $lockedPackage->getSourceReference() !== $package->getSourceReference()
) {
$newPackage = clone $package;
$newPackage->setSourceReference($lockedPackage->getSourceReference());
$operations[] = new UpdateOperation($package, $newPackage);
$operations[] = new UpdateOperation($package, $lockedPackage);
break;
}