diff options
Diffstat (limited to '')
-rw-r--r-- | include/calendar_base.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/calendar_base.class.php b/include/calendar_base.class.php index a0b90ba05..079da2621 100644 --- a/include/calendar_base.class.php +++ b/include/calendar_base.class.php @@ -268,7 +268,7 @@ $this->get_date_where($level).' $prev = $next =null; if ( empty($page['chronology_date']) ) return; - $query = 'SELECT CONCAT_WS("-"'; + $query = 'SELECT CONCAT_WS(\'-\''; for ($i=0; $i<count($page['chronology_date']); $i++) { if ( 'any' === $page['chronology_date'][$i] ) |