dever 6 years ago
parent
commit
96df3b84a4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      main/src/Journal_v1.php

+ 4 - 3
main/src/Journal_v1.php

@@ -43,10 +43,11 @@ class Journal_v1 extends Core
             $this->data['push'] = Dever::db('journal/info')->getNew();
         }
 
-        $this->data['push'] = $this->info($this->data['push']);
         $this->data['button'] = array();
-        $this->data['push'] = $this->getButton($this->data['push']);
-
+        if (!$this->app) {
+            $this->data['push'] = $this->info($this->data['push']);
+            $this->data['push'] = $this->getButton($this->data['push']);
+        }
         
         $data = Dever::db('journal/info')->getAllByPage($where);