diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-06-06 15:33:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 15:33:16 +0200 |
commit | 4d8c96397243844a17094befedf27d92bdd3e630 (patch) | |
tree | 8d3df08ce721d31b4fb03f925fe98b56c955acc0 /apps | |
parent | f96afcf85e08090fff6b8c0df9945b7144449d4e (diff) | |
parent | a213650b7191dabc99e6653b32ca06f82734fe50 (diff) | |
download | nextcloud-server-4d8c96397243844a17094befedf27d92bdd3e630.tar.gz nextcloud-server-4d8c96397243844a17094befedf27d92bdd3e630.zip |
Merge pull request #38648 from nextcloud/fix/caldav/reminder-index-int-id-cast
fix(caldav): Cast calendar objects id to int when building index
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php index a38524da9e2..a2607ca13c4 100644 --- a/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php +++ b/apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php @@ -107,7 +107,7 @@ class BuildReminderIndexBackgroundJob extends QueuedJob { $result = $query->executeQuery(); while ($row = $result->fetch(\PDO::FETCH_ASSOC)) { - $offset = $row['id']; + $offset = (int) $row['id']; if (is_resource($row['calendardata'])) { $row['calendardata'] = stream_get_contents($row['calendardata']); } |