diff --git a/Form/Type/VihuvacRecaptchaType.php b/Form/Type/VihuvacRecaptchaType.php index b07b2b1..56a6ede 100644 --- a/Form/Type/VihuvacRecaptchaType.php +++ b/Form/Type/VihuvacRecaptchaType.php @@ -71,7 +71,7 @@ public function __construct(ContainerInterface $container) $this->siteKey = $container->getParameter("vihuvac_recaptcha.site_key"); $this->secure = $container->getParameter("vihuvac_recaptcha.secure"); $this->enabled = $container->getParameter("vihuvac_recaptcha.enabled"); - $this->language = $container->getParameter($container->getParameter("vihuvac_recaptcha.locale_key")); + $this->language = $container->getParameter("vihuvac_recaptcha.locale_key"); } /**