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 1ce07649a..cab13c744 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -116,7 +116,7 @@ check_status(ACCESS_ADMINISTRATOR);
$query = '
SELECT
date,
- hour(time) AS hour,
+ '.pwg_db_get_hour('time').' AS hour,
MAX(id) AS max_id,
COUNT(*) AS nb_pages
FROM '.HISTORY_TABLE.'