We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70c1745 + 8cef51b commit bbd97dbCopy full SHA for bbd97db
apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php
@@ -95,8 +95,10 @@ public function send(VEvent $vevent,
95
$eventDetails = $this->extractEventDetails($vevent);
96
$eventDetails['calendar_displayname'] = $calendarDisplayName;
97
$eventUUID = (string) $vevent->UID;
98
- // Empty Notification ObjectId will be catched by OC\Notification\Notification
99
- $eventUUIDHash = $eventUUID ? hash('sha256', $eventUUID, false) : '';
+ if (!$eventUUID) {
+ return;
100
+ };
101
+ $eventUUIDHash = hash('sha256', $eventUUID, false);
102
103
foreach ($users as $user) {
104
/** @var INotification $notification */
0 commit comments