mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: don't try to access null array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
2ea6c5364d
commit
c5c6f3eaf1
1 changed files with 1 additions and 0 deletions
|
|
@ -261,6 +261,7 @@ class Notifications {
|
|||
$status = json_decode($result['result'], true);
|
||||
|
||||
if ($result['success'] &&
|
||||
isset($status['ocs']['meta']['statuscode']) &&
|
||||
($status['ocs']['meta']['statuscode'] === 100 ||
|
||||
$status['ocs']['meta']['statuscode'] === 200
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue