aboutsummaryrefslogtreecommitdiffstats
path: root/admin/stats.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-04-26 20:47:16 +0000
committerplegall <plg@piwigo.org>2005-04-26 20:47:16 +0000
commita32a5a7d36d08a7efb4f6242c1acbd95545e9416 (patch)
tree81f630b165fa19d0d0f3476dedd449d305527550 /admin/stats.php
parent3fc8c9824f1e57e1ef32c7fbfcbf7b1ecd7bcb66 (diff)
- 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
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 0fa4d4245..61e3fbe39 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -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.'