Commit e0873f628b85c48e507d107d75865eafefb16903

Authored by Alex Savenko
1 parent fa71e26e

controller

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/controllers/MenuController.php
@@ -1254,7 +1254,7 @@ class MenuController extends \controllers\ControllerBase @@ -1254,7 +1254,7 @@ class MenuController extends \controllers\ControllerBase
1254 1254
1255 if( $this->request->isPost() ) 1255 if( $this->request->isPost() )
1256 { 1256 {
1257 - $data['name'] = $this->request->getPost('name', 'string', NULL ); 1257 + $data['name'] = $this->request->getPost('username', 'string', NULL );
1258 $email = $this->request->getPost('email', 'string', NULL ); 1258 $email = $this->request->getPost('email', 'string', NULL );
1259 $data['email'] = filter_var( $email, FILTER_VALIDATE_EMAIL ); 1259 $data['email'] = filter_var( $email, FILTER_VALIDATE_EMAIL );
1260 1260