1
0
Fork 0

Merge remote-tracking branch 'kayladnls/kayla'

pull/3320/head
Jordi Boggiano 2014-10-07 15:40:33 +01:00
commit d4062a5594
1 changed files with 3 additions and 3 deletions

View File

@ -344,9 +344,9 @@ EOT
$exactMatch = null; $exactMatch = null;
$choices = array(); $choices = array();
foreach ($matches as $position => $package) { foreach ($matches as $position => $foundPackage) {
$choices[] = sprintf(' <info>%5s</info> %s', "[$position]", $package['name']); $choices[] = sprintf(' <info>%5s</info> %s', "[$position]", $foundPackage['name']);
if ($package['name'] === $package) { if ($foundPackage['name'] === $package) {
$exactMatch = true; $exactMatch = true;
break; break;
} }