[FIX] Calendar : Fix system error related to new classification on item
Ticket: https://avan.tech/item103509
This happens when we select an existing classification on 'Classification' option and new classification on 'New classification' option:
System error.
The following error message was returned:
The query was:
select `calcatId` from `tiki_calendar_categories` where `calendarId`=? and `name`=?
Values:
1
la class
#783b67
The built query was likely:
select `calcatId` from `tiki_calendar_categories` where `calendarId`='1' and `name`='la class'