Skip to content

Commit

Permalink
Merge pull request #97 from dterweij/6.1.x
Browse files Browse the repository at this point in the history
Project issue #1091.
  • Loading branch information
dterweij committed Feb 22, 2014
2 parents 342c23e + e6c1f87 commit 05e0dec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kloxo/httpdocs/htmllib/lib/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2639,14 +2639,11 @@ function getFullVersionList($till = null)

function getVersionList($till = null)
{
// TODO: Is this the reason why Kloxo versions list not showing versions with number two in it?
// Project issue #1091
//
// Removed code that skipped every version with a number 2 in it.
// DT22022014
$list = getFullVersionList($till);
foreach($list as $k => $l) {
if (preg_match("/2$/", $l) && ($k !== count($list) -1 )) {
continue;
}
$nnlist[] = $l;
}
$nlist = $nnlist;
Expand Down

0 comments on commit 05e0dec

Please sign in to comment.