Skip to content

Commit

Permalink
Merge pull request #6 from benjaminu/bug-fix-recaptcha-type-constructor
Browse files Browse the repository at this point in the history
bugfix - fixed typo in accessing language parameter in Recaptcha type constructor
  • Loading branch information
vihuvac authored Aug 10, 2016
2 parents 167b468 + ab5b09c commit 62cc6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Type/VihuvacRecaptchaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/**
Expand Down

0 comments on commit 62cc6a9

Please sign in to comment.