mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
- DATE() is available only since MySQL 4.1.1, replaced by DAYOFMONTH()
- array_fill function available only with PHP >= 4.2.0, replaced by a for loop git-svn-id: http://piwigo.org/svn/trunk@775 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user