mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 02:44:57 -05:00
Merge pull request #38676 from nextcloud/backport/38648/stable25
[stable25] fix(caldav): Cast calendar objects id to int when building index
This commit is contained in:
commit
d3bef71fc0
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