diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 1f79822a6..728319e09 100644 --- a/inc/common.php +++ b/inc/common.php @@ -532,7 +532,7 @@ function getRevisionInfo($id,$rev){ } $loglines = file($conf['changelog']); $loglines = preg_grep("/$rev\t\d+\.\d+\.\d+\.\d+\t$id\t/",$loglines); - rsort($loglines); //reverse sort on timestamp (shouldn't be needed) + $loglines = array_reverse($loglines); //reverse sort on timestamp (shouldn't be needed) $line = split("\t",$loglines[0]); $info['date'] = $line[0]; $info['ip'] = $line[1]; |