]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Form/ContactType.php
Enable contact captcha
[airbundle] / Form / ContactType.php
index 93951e968a8c42c724a90a974b2b683a70363a23..4142c996d4c0bc3dcdcf8a3d13b8c7ffba8f8a7a 100644 (file)
@@ -46,6 +46,9 @@ class ContactType extends CaptchaType {
         * {@inheritdoc}
         */
        public function configureOptions(OptionsResolver $resolver): void {
+               //Call parent configure options
+               parent::configureOptions($resolver);
+
                //Set defaults
                $resolver->setDefaults(['error_bubbling' => true]);
        }