Remove obsolete values array on edit form

This commit is contained in:
Ramon Gutierrez 2018-01-16 06:11:55 +08:00
parent 278a37bc53
commit ed24ace9b6
2 changed files with 0 additions and 2 deletions

View file

@ -216,7 +216,6 @@ class RoleController extends BaseController
throw $this->createNotFoundException('The item does not exist');
$params['obj'] = $row;
$params['values'] = [];
// response
return $this->render('role/form.html.twig', $params);

View file

@ -242,7 +242,6 @@ class UserController extends BaseController
$params['roles'] = $em->getRepository(Role::class)->findAll();
$params['obj'] = $row;
$params['values'] = [];
// response
return $this->render('user/form.html.twig', $params);