From 1661af7f3f10bd303d2a1e71054fe9ba57954604 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 22 Jun 2010 21:01:47 +0000 Subject: Bug 1738 fixed : merge from trunk hour function doesn't exists for database other than mysql. git-svn-id: http://piwigo.org/svn/branches/2.1@6579 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/stats.php') 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.' -- cgit v1.2.3