SQL-DATABASE ERROR
Database error in Event-List: Invalid SQL: SELECT appointmentid FROM koc1_appointments WHERE ((startdate >= '2012-05-17' AND startdate <= '2013-05-17') OR (enddate >= '2012-05-17' AND enddate <= '2013-05-17')) 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=5&year=2012&mystyle=&sid=
Referer: