Commit 18119139438891d9d1c91c78a1c16e26a8971f5c
1 parent
1b99d6c3
change request to massage
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/SeriesOfLettersController.php
... | ... | @@ -59,8 +59,8 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller |
59 | 59 | ]); |
60 | 60 | } |
61 | 61 | |
62 | - public function updateAction($id){ | |
63 | - | |
62 | + public function updateAction(){ | |
63 | + $id = $this->request->getPost('id' ); | |
64 | 64 | $data = \seriesOfLetters::findFirst("id=$id"); |
65 | 65 | $this->view->pick( 'series_of_letters/addEdit' ); |
66 | 66 | $this->view->setVars([ | ... | ... |