rabin 1 年之前
父节点
当前提交
8ed9701ef1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bao/connect/api/Notify.php

+ 1 - 1
src/bao/connect/api/Notify.php

@@ -75,7 +75,7 @@ class Notify extends Api
 
     private function error($msg)
     {
-        if ($this->info['notify_error']) {
+        if ($this->info && $this->info['notify_error']) {
             if ($this->info['notify_error'] == 500) {
                 header("HTTP/1.1 500 Internal Server Error");
                 header("Status: 500 Internal Server Error");