|
@@ -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);
|
|
|
|