From e6c1f87ca28f74056a80396df7fd333262a9cf59 Mon Sep 17 00:00:00 2001 From: Danny Terweij Date: Sat, 22 Feb 2014 16:10:52 +0100 Subject: [PATCH] Project issue #1091. - Removed code that skipped every version with a number 2 in it. --- kloxo/httpdocs/htmllib/lib/lib.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kloxo/httpdocs/htmllib/lib/lib.php b/kloxo/httpdocs/htmllib/lib/lib.php index 246482d1bd..1cf87d189d 100755 --- a/kloxo/httpdocs/htmllib/lib/lib.php +++ b/kloxo/httpdocs/htmllib/lib/lib.php @@ -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;