diff options
author | plegall <plg@piwigo.org> | 2005-01-11 20:04:19 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-01-11 20:04:19 +0000 |
commit | 24903f219821e17dc69002654fa709590ba312a8 (patch) | |
tree | c3528037d05d50143ed39a5349d4531e56a9571b /admin | |
parent | b292784a101375fa2dd8f4e0e0fd5633f826682b (diff) |
- bug fixed : use the constant to history table instead of hard coded table
name
git-svn-id: http://piwigo.org/svn/trunk@685 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/images/global_stats.img.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/images/global_stats.img.php b/admin/images/global_stats.img.php index f1154ff18..3118ff66f 100644 --- a/admin/images/global_stats.img.php +++ b/admin/images/global_stats.img.php @@ -37,7 +37,7 @@ $legend = $lang['stats_global_graph_title']; $imageHeight = 256; $imageWidth = 320; $sql = "SELECT DISTINCT COUNT(*), MONTH(date) - FROM phpwg_history + FROM ".HISTORY_TABLE." WHERE (date > DATE_SUB(CURRENT_DATE(), INTERVAL 12 MONTH)) GROUP BY DATE_FORMAT(date,'%Y-%m') DESC;"; |