mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17465] Remove obsolete json_decode
PHPBB-17465
This commit is contained in:
parent
c937b8f7ab
commit
e75d7a8410
1 changed files with 1 additions and 4 deletions
|
@ -133,10 +133,7 @@ class webpush
|
|||
$notification_data = $this->get_anonymous_notifications();
|
||||
}
|
||||
|
||||
// Decode and return data if everything is fine
|
||||
$data = json_decode($notification_data, true);
|
||||
|
||||
return new JsonResponse($data);
|
||||
return new JsonResponse($notification_data, 200, [], true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue