dever 6 年之前
父節點
當前提交
9cad0579c9
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      main/src/Journal.php

+ 2 - 0
main/src/Journal.php

@@ -339,6 +339,7 @@ class Journal extends Core
 
 
         if (!$this->data['active']) {
+            $this->data['active'] = (object) array();
             return $this->data;
         }
 
@@ -386,6 +387,7 @@ class Journal extends Core
 
 
         if (!$this->data['active']) {
+            $this->data['active'] = (object) array();
             return $this->data;
         }