From d69593858de5ede82cccf72ff17ff651fdba6eff Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Sat, 10 Apr 2021 22:05:31 +0800 Subject: [PATCH] fix: fix arguments for renderFooterJS --- src/InvisibleReCaptcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InvisibleReCaptcha.php b/src/InvisibleReCaptcha.php index c1912de..5753fe2 100644 --- a/src/InvisibleReCaptcha.php +++ b/src/InvisibleReCaptcha.php @@ -93,7 +93,7 @@ public function render($lang = null, $nonce = null) { $html = $this->renderPolyfill(); $html .= $this->renderCaptchaHTML(); - $html .= $this->renderFooterJS([$lang, $nonce]); + $html .= $this->renderFooterJS($lang, $nonce); return $html; }