diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-10-27 08:07:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-27 08:07:42 +0200 |
commit | 60e0322365ca3b38d82ab103d92a8aed97882adc (patch) | |
tree | 6e9b5229e7f290fc241dcf661445e8f1b2732222 /apps/federatedfilesharing | |
parent | 01bb3efe238cecf5075a5030719d3b0a726dfe51 (diff) | |
parent | c5c6f3eaf139adc1ae6dd6ec73cf86743fcbe9b6 (diff) | |
download | nextcloud-server-60e0322365ca3b38d82ab103d92a8aed97882adc.tar.gz nextcloud-server-60e0322365ca3b38d82ab103d92a8aed97882adc.zip |
Merge pull request #39743 from nextcloud/fixNullArray
fix: Don't try to access null array
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/lib/Notifications.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/Notifications.php b/apps/federatedfilesharing/lib/Notifications.php index b2da4cb3e28..643604b98b7 100644 --- a/apps/federatedfilesharing/lib/Notifications.php +++ b/apps/federatedfilesharing/lib/Notifications.php @@ -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 ) |