Browse Source

Merge pull request #39743 from nextcloud/fixNullArray

fix: Don't try to access null array
tags/v28.0.0beta1
Git'Fellow 8 months ago
parent
commit
60e0322365
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      apps/federatedfilesharing/lib/Notifications.php

+ 1
- 0
apps/federatedfilesharing/lib/Notifications.php View File

@@ -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…
Cancel
Save