Skip to content

Commit

Permalink
Merge pull request #41146 from nextcloud/backport/39743/stable26
Browse files Browse the repository at this point in the history
[stable26] fix: Don't try to access null array
  • Loading branch information
susnux committed Oct 30, 2023
2 parents 22aca4d + 2b46ded commit ffdb186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/federatedfilesharing/lib/Notifications.php
Expand Up @@ -293,6 +293,7 @@ public function sendUpdateToRemote($remote, $remoteId, $token, $action, $data =
$status = json_decode($result['result'], true);

if ($result['success'] &&
isset($status['ocs']['meta']['statuscode']) &&
($status['ocs']['meta']['statuscode'] === 100 ||
$status['ocs']['meta']['statuscode'] === 200
)
Expand Down

0 comments on commit ffdb186

Please sign in to comment.