aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-05 18:33:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-06 09:45:39 +0200
commita213650b7191dabc99e6653b32ca06f82734fe50 (patch)
tree04193bed277616819d8fc70f4da5420dc22e6700 /apps
parentfec2cc69f4d9003770373a406805e88b5eaefba9 (diff)
downloadnextcloud-server-a213650b7191dabc99e6653b32ca06f82734fe50.tar.gz
nextcloud-server-a213650b7191dabc99e6653b32ca06f82734fe50.zip
fix(caldav): Cast calendar objects id to int when building index
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php2
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']);
}