aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/stats.php b/admin/stats.php
index 6561a9eb9..0de4579e2 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -124,7 +124,7 @@ for ( $i = 0; $i <= MAX_DAYS; $i++ )
$query.= ' FROM '.PREFIX_TABLE.'history';
$query.= ' WHERE date > '.$starttime;
$query.= ' AND date < '.$endtime;
- $query.= ' ORDER BY date ASC';
+ $query.= ' ORDER BY date DESC';
$query.= ';';
$result = mysql_query( $query );
$nb_pages_seen = mysql_num_rows( $result );