Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: don't try to access null array
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored and kesselb committed Aug 14, 2023
commit c5c6f3eaf139adc1ae6dd6ec73cf86743fcbe9b6
1 change: 1 addition & 0 deletions apps/federatedfilesharing/lib/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,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