mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -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
22aca4d030
commit
2b46dedb9a
1 changed files with 1 additions and 0 deletions
|
|
@ -293,6 +293,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