aboutsummaryrefslogtreecommitdiffstats
path: root/admin/stats.php
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 0fa4d4245..61e3fbe39 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -65,7 +65,7 @@ $template->assign_vars(array(
//---------------------------------------------------------------- log history
$query = '
SELECT DISTINCT COUNT(*) as p,
- DATE(date) as d,
+ DAYOFMONTH(date) as d,
MONTH(date) as m,
YEAR(date) as y
FROM '.HISTORY_TABLE.'