Commit 17725be7e9b8f076fe3fa333a05e2dbc8c46f9a1
1 parent
c27b6223
flash "Заполните все поля"
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
| ... | ... | @@ -1277,6 +1277,11 @@ class MenuController extends \controllers\ControllerBase |
| 1277 | 1277 | //return $this->response->redirect([ 'for' => 'homepage', 'language' => $this->lang_name ]); |
| 1278 | 1278 | } |
| 1279 | 1279 | } |
| 1280 | + else { | |
| 1281 | + | |
| 1282 | + $this->flash->error("Заполните все поля"); | |
| 1283 | + | |
| 1284 | + } | |
| 1280 | 1285 | } |
| 1281 | 1286 | |
| 1282 | 1287 | $this->view->setVars([ | ... | ... |