diff options
author | nikrou <nikrou@piwigo.org> | 2010-06-22 21:01:05 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-06-22 21:01:05 +0000 |
commit | 5a677f1151ec726bcc147eee3e0743ca3153125e (patch) | |
tree | ad121f3eb3bcb70c56d5ca6d7a1aaa407187d0a1 /admin/stats.php | |
parent | f4d4a3dbcf0ef0e56ff120410ac3e8dee03bfa35 (diff) |
Bug 1738 fixed : hour function doesn't exists for database other than mysql.
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/stats.php | 2 |
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.' |