From 855c94f26dfd65140b2c361aacdebe6c57eebb90 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 3 Dec 2024 18:02:32 +0100 Subject: [PATCH] Fix the str_contains php error --- application/controllers/Caldav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Caldav.php b/application/controllers/Caldav.php index 6363450c..7b1aae45 100644 --- a/application/controllers/Caldav.php +++ b/application/controllers/Caldav.php @@ -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; }