1
0
Fork 0

updated package variable in gathering requirements

pull/3261/head
Kayla Daniels 2014-09-05 12:11:27 -04:00
parent ca8ce161e1
commit ec758d95b0
1 changed files with 3 additions and 3 deletions

View File

@ -335,9 +335,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;
} }