1
0
Fork 0

Only update reference if there is actually a reference, fixes #5609

pull/5645/head
Jordi Boggiano 2016-09-02 18:43:44 +02:00
parent 90b99ea5c2
commit ed78253c58
1 changed files with 4 additions and 0 deletions

View File

@ -1137,6 +1137,10 @@ class Installer
private function updateInstallReferences(PackageInterface $package, $reference)
{
if (!$reference) {
return;
}
$package->setSourceReference($reference);
$package->setDistReference($reference);