X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/8b1da3957891754cde261e74aa0ad8c046651b6a..c9bf8034a2c5de10ff155dde8d5b2228ea1bac65:/Form/RegisterType.php diff --git a/Form/RegisterType.php b/Form/RegisterType.php index 06e5f36..199e3d9 100644 --- a/Form/RegisterType.php +++ b/Form/RegisterType.php @@ -67,7 +67,7 @@ class RegisterType extends BaseRegisterType { parent::configureOptions($resolver); //Set defaults - $resolver->setDefaults(['city' => true, 'country' => true, 'country_class' => 'RapsysAirBundle:Country', 'country_default' => null, 'country_favorites' => [], 'phone' => true, 'pseudonym' => true, 'zipcode' => true]); + $resolver->setDefaults(['city' => true, 'country' => true, 'country_class' => 'Rapsys\AirBundle\Entity\Country', 'country_default' => null, 'country_favorites' => [], 'phone' => true, 'pseudonym' => true, 'zipcode' => true]); //Add extra city option $resolver->setAllowedTypes('city', 'boolean');