Commit 1b99d6c386e6ac6604e538ce6d7f48ea28405db4
1 parent
9f70333e
change request to massage
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/SeriesOfLettersController.php
... | ... | @@ -30,7 +30,7 @@ class SeriesOfLettersController extends \Phalcon\Mvc\Controller |
30 | 30 | $data['period_val'] = $this->request->getPost('period_val' ); |
31 | 31 | $data['letters'] = implode(',',$data['event']); |
32 | 32 | |
33 | - $model = new \SeriesOfLetters(); | |
33 | + $model = new \seriesOfLetters(); | |
34 | 34 | if( !empty( $data['name'] )) |
35 | 35 | { |
36 | 36 | if( $model->save( $data ) ) | ... | ... |
src/app/frontend/views/series_of_letters/index.php
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | <?php foreach ($data as $item):?> |
15 | 15 | <tr> |
16 | 16 | <td><?=$item->id; ?></td> |
17 | - <td><?= $item->title; ?></td> | |
17 | + <td><?= $item->name; ?></td> | |
18 | 18 | <td> |
19 | 19 | <a href="<?= $this->url->get('series_of_letters/delete/'.$item->id) ?>" class="action-img delete_icon" onclick="return confirm('Вы действительно хотите удалить пункт?')" title="Удалить"></a> |
20 | 20 | <a href="<?= $this->url->get('series_of_letters/update/'.$item->id) ?>" class="action-img edit-icon" title="Редактировать"></a> | ... | ... |