Skip to content

Commit

Permalink
Fix the str_contains php error
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Dec 3, 2024
1 parent a0361e2 commit 855c94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/Caldav.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public static function sync(string $provider_id): void
// 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;
}

Expand Down

0 comments on commit 855c94f

Please sign in to comment.