Skip to content

Commit

Permalink
fixup! Fix/handle-duplicate-reminder
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 committed Apr 9, 2024
1 parent 318bd0f commit 55317e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Reminder/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getRemindersToProcess():array {
->where($query->expr()->lte('cr.notification_date', $query->createNamedParameter($this->timeFactory->getTime())))
->join('cr', 'calendarobjects', 'co', $query->expr()->eq('cr.object_id', 'co.id'))
->join('cr', 'calendars', 'c', $query->expr()->eq('cr.calendar_id', 'c.id'))
->groupBy('cr.notification_date', 'cr.event_hash');
->groupBy( 'cr.event_hash', 'cr.notification_date');
$stmt = $query->execute();

return array_map(
Expand Down

0 comments on commit 55317e4

Please sign in to comment.