From ab5b09c05518d653052bb1dc09d7fc08e4b9be10 Mon Sep 17 00:00:00 2001 From: Benjamin Ugbene Date: Tue, 9 Aug 2016 09:47:59 +0100 Subject: [PATCH] bugfix - fixed typo in accessing language parameter in Recaptcha type constructor --- Form/Type/VihuvacRecaptchaType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } /**