Fix the str_contains php error

This commit is contained in:
Alex Tselegidis 2024-12-03 18:02:32 +01:00
parent a0361e2a10
commit 855c94f26d

View file

@ -150,7 +150,7 @@ class Caldav extends EA_Controller
// Sync each appointment with CalDAV Calendar by following the project's sync protocol (see documentation).
foreach ($local_events as $local_event) {
if (str_contains($local_event['id_caldav_calendar'], 'RECURRENCE')) {
if (str_contains((string) $local_event['id_caldav_calendar'], 'RECURRENCE')) {
continue;
}