Commit b4efc94e64f0a65e955a7ac8a36ebc3ac9c79df3
1 parent
95b0c05d
change request to massage
Showing
1 changed file
with
2 additions
and
5 deletions
Show diff stats
src/app/frontend/controllers/SeriesOfLettersController.php
@@ -12,13 +12,10 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller | @@ -12,13 +12,10 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller | ||
12 | } | 12 | } |
13 | 13 | ||
14 | public function indexAction(){ | 14 | public function indexAction(){ |
15 | - $data = \eventEmail::query() | ||
16 | - ->where("email_type = 'standard'") | ||
17 | - ->andWhere("project_id = {$this->session->get('project-id')}") | ||
18 | - ->execute(); | 15 | + $data = \seriesOfLetters::find(); |
19 | 16 | ||
20 | $this->view->setVars([ | 17 | $this->view->setVars([ |
21 | - | 18 | + 'data' => $data |
22 | ]); | 19 | ]); |
23 | } | 20 | } |
24 | } | 21 | } |
25 | \ No newline at end of file | 22 | \ No newline at end of file |