From 75410d13b71bd5758fc59b0061d4f3a001edca5b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 28 Jun 2011 20:35:31 +0200 Subject: [PATCH] Bugfix --- src/Composer/Command/InstallCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php index 4f3c70c96..118f08269 100644 --- a/src/Composer/Command/InstallCommand.php +++ b/src/Composer/Command/InstallCommand.php @@ -40,6 +40,7 @@ class InstallCommand // TODO this should use the transaction returned by the solver foreach ($config['require'] as $name => $version) { + unset($package); foreach ($packages as $pkg) { if (strtolower($pkg->getName()) === strtolower($name)) { $package = $pkg;