SQL-DATABASE ERROR
Database error in Event-List: Invalid SQL: SELECT appointmentid FROM koc1_appointments WHERE ((startdate >= '2012-02-04' AND startdate <= '2013-02-03') OR (enddate >= '2012-02-04' AND enddate <= '2013-02-03')) AND activated = 1 AND groupid IN (0,)
MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
MySQL error number: 1064
Script: /bb/cal/list.php?month=2&year=2012&mystyle=&sid=
Referer: