Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed saving set of groups related to user (while creating/updating u…

…sers).
  • Loading branch information...
commit ed10f43ab163aefb9fbcdc8197ca2c88d6c205c6 1 parent e2cdcbc
@falinsky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Admin/Model/UserAdmin.php
View
2  Admin/Model/UserAdmin.php
@@ -111,7 +111,7 @@ protected function configureFormFields(FormMapper $formMapper)
->add('plainPassword', 'text', array('required' => false))
->end()
->with('Groups')
- ->add('groups', 'sonata_type_model', array('required' => false))
+ ->add('groups', 'sonata_type_model', array('required' => false, 'by_reference' => false))
->end()
->with('Profile')
->add('dateOfBirth', 'date', array('required' => false))
Please sign in to comment.
Something went wrong with that request. Please try again.