1
0
Fork 0

Avoid showing duplicates versions

pull/375/head
Jordi Boggiano 2012-02-27 15:32:45 +01:00
parent f999285926
commit 0e6cf61b67
1 changed files with 2 additions and 2 deletions

View File

@ -165,10 +165,10 @@ EOT
$versions = array();
foreach ($repos->findPackages($package->getName()) as $version) {
$versions[] = $version->getPrettyVersion();
$versions[$version->getPrettyVersion()] = true;
}
$versions = join(', ', $versions);
$versions = join(', ', array_keys($versions));
// highlight installed version
if ($installedRepo->hasPackage($package)) {