From 9108a3af7f24522a2da69a88315cd38d3bb8e580 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 30 Oct 2011 22:09:00 +0100 Subject: [PATCH] Fix PlatformRepo packages not being seen as installed --- src/Composer/Command/InstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php index e96b29141..f5c8e9cca 100644 --- a/src/Composer/Command/InstallCommand.php +++ b/src/Composer/Command/InstallCommand.php @@ -97,7 +97,7 @@ EOT // TODO this belongs in the solver, but this will do for now to report top-level deps missing at least foreach ($request->getJobs() as $job) { if ('install' === $job['cmd']) { - foreach ($localRepo->getPackages() as $package) { + foreach ($installedRepo->getPackages() as $package) { if ($job['packageName'] === $package->getName()) { continue 2; }