1
0
Fork 0
pull/5/head
Jordi Boggiano 2011-06-28 20:35:31 +02:00
parent 5b061b8ddb
commit 75410d13b7
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class InstallCommand
// TODO this should use the transaction returned by the solver // TODO this should use the transaction returned by the solver
foreach ($config['require'] as $name => $version) { foreach ($config['require'] as $name => $version) {
unset($package);
foreach ($packages as $pkg) { foreach ($packages as $pkg) {
if (strtolower($pkg->getName()) === strtolower($name)) { if (strtolower($pkg->getName()) === strtolower($name)) {
$package = $pkg; $package = $pkg;