瀏覽代碼

Merge pull request #39743 from nextcloud/fixNullArray

fix: Don't try to access null array
tags/v28.0.0beta1
Git'Fellow 8 月之前
父節點
當前提交
60e0322365
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      apps/federatedfilesharing/lib/Notifications.php

+ 1
- 0
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
)

Loading…
取消
儲存