summaryrefslogtreecommitdiff
path: root/inc/changelog.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/changelog.php')
-rw-r--r--inc/changelog.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/changelog.php b/inc/changelog.php
index fdb18253c..9501ec392 100644
--- a/inc/changelog.php
+++ b/inc/changelog.php
@@ -111,13 +111,14 @@ function getRecents($first,$num,$ns='',$flags=0){
$rec = _handleRecent($lines[$i], $ns, $flags);
if($rec !== false) {
if(--$first >= 0) continue; // skip first entries
- $recent[] = $rec;
+ $recent[$rec['date']] = $rec;
$count++;
// break when we have enough entries
if($count >= $num){ break; }
}
}
+ krsort($recent);
return $recent;
}