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;
         }