Commit b4efc94e64f0a65e955a7ac8a36ebc3ac9c79df3

Authored by Administrator
1 parent 95b0c05d

change request to massage

src/app/frontend/controllers/SeriesOfLettersController.php
... ... @@ -12,13 +12,10 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller
12 12 }
13 13  
14 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 17 $this->view->setVars([
21   -
  18 + 'data' => $data
22 19 ]);
23 20 }
24 21 }
25 22 \ No newline at end of file
... ...