mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
fix(caldav): Cast calendar objects id to int when building index
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
fec2cc69f4
commit
a213650b71
1 changed files with 1 additions and 1 deletions
|
|
@ -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']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue