Commit 3ac99d6b7916483611800bbf645d15a69b5409fb
1 parent
8faffe86
change request to massage
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/app/frontend/controllers/SeriesOfLettersController.php
... | ... | @@ -47,11 +47,11 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller |
47 | 47 | } |
48 | 48 | |
49 | 49 | public function getTemplateAction() |
50 | - { die('here'); | |
50 | + { | |
51 | 51 | $this->view->setTemplateAfter('none'); |
52 | 52 | $like = $this->request->getPost('like', 'string', NULL ); |
53 | - $users = \customersEmailList::find(array( | |
54 | - "email LIKE '%$like%' AND project_id = {$this->session->get('project-id')}" | |
53 | + $users = \eventEmail::find(array( | |
54 | + "name LIKE '%$like%' AND project_id = {$this->session->get('project-id')}" | |
55 | 55 | )); |
56 | 56 | $result = json_encode($users->toArray()); |
57 | 57 | $this->view->disableLevel(\Phalcon\Mvc\View::LEVEL_MAIN_LAYOUT); | ... | ... |