Skip to content

Commit

Permalink
[FIX] 0043446: Failed test: Edit notification
Browse files Browse the repository at this point in the history
  • Loading branch information
chfsx committed Jan 28, 2025
1 parent 17ab001 commit 24b89c9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ protected function getNotificationsFromRequest(): array
if (($field_ids[0] ?? null) === 'ALL_OBJECTS') {
return ilADNNotification::get();
}
// check ilADNAbstractGUI::IDENTIFIER
if (($field_id = $this->http->request()->getQueryParams()[ilADNAbstractGUI::IDENTIFIER] ?? false)) {
return [ilADNNotification::findOrFail((int) $field_id)];
}

$return = [];
foreach ($field_ids as $field_id) {
Expand Down

0 comments on commit 24b89c9

Please sign in to comment.