Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable: lang #109

Closed
hocklai8 opened this issue Apr 4, 2019 · 1 comment
Closed

Undefined variable: lang #109

hocklai8 opened this issue Apr 4, 2019 · 1 comment
Labels

Comments

@hocklai8
Copy link

hocklai8 commented Apr 4, 2019

Using @captchaPolyfill gives this undefined variable: lang

I believe there's a bug in InvinsibleReCaptchaServiceProvider addBladeDirective() Line 78 missing a $lang parameter

$blade->directive('captchaPolyfill', function ($lang) {
     return "<?php echo app('captcha')->renderPolyfill({$lang}); ?>";
});
@albertcht albertcht added the bug label Jun 13, 2019
@albertcht
Copy link
Owner

@hocklai8 ,

Thanks for your report, I've fixed it in the release v1.9.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants