mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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
This commit is contained in:
+1
-1
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user