1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Fix the problem at the source, refs #3322

This commit is contained in:
Jordi Boggiano 2014-10-07 16:03:19 +01:00
parent 5c42cc8c8c
commit 73e9db5d99
2 changed files with 3 additions and 2 deletions

View file

@ -333,7 +333,8 @@ EOT
}
while (null !== $package = $dialog->ask($output, $prompt)) {
$matches = array_values($this->findPackages($package));
$matches = $this->findPackages($package);
if (count($matches)) {
$exactMatch = null;
$choices = array();