diff --git a/src/InvisibleReCaptchaServiceProvider.php b/src/InvisibleReCaptchaServiceProvider.php index 3c06692..6bbf71d 100644 --- a/src/InvisibleReCaptchaServiceProvider.php +++ b/src/InvisibleReCaptchaServiceProvider.php @@ -76,7 +76,7 @@ public function addBladeDirective(BladeCompiler $blade) return "render({$lang}); ?>"; }); $blade->directive('captchaPolyfill', function () { - return "renderPolyfill({$lang}); ?>"; + return "renderPolyfill(); ?>"; }); $blade->directive('captchaHTML', function () { return "renderCaptchaHTML(); ?>";