diff options
Diffstat (limited to '')
-rw-r--r-- | include/calendar_base.class.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/calendar_base.class.php b/include/calendar_base.class.php index a64e20fe9..15f20f7f3 100644 --- a/include/calendar_base.class.php +++ b/include/calendar_base.class.php @@ -215,9 +215,7 @@ SELECT DISTINCT('.$this->calendar_levels[$level]['sql'].') as period, COUNT(DISTINCT id) as nb_images'. $this->inner_sql. $this->get_date_where($level).' - GROUP BY period - ORDER BY period ASC -;'; + GROUP BY period;'; $level_items = simple_hash_from_query($query, 'period', 'nb_images'); |