From 586e9316a6f7a9378c7eac3eda1ef3309613ecd1 Mon Sep 17 00:00:00 2001 From: Raphael Jackstadt Date: Thu, 3 Mar 2016 11:57:54 +0100 Subject: [PATCH] PHP7 fix #107 --- application/helpers/recaptchalib_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/helpers/recaptchalib_helper.php b/application/helpers/recaptchalib_helper.php index 7322ad9..df19dd5 100644 --- a/application/helpers/recaptchalib_helper.php +++ b/application/helpers/recaptchalib_helper.php @@ -52,7 +52,7 @@ class ReCaptcha * * @param string $secret shared secret between site and ReCAPTCHA server. */ - function ReCaptcha($secret) + public function __construct($secret) { if ($secret == null || $secret == "") { die("To use reCAPTCHA you must get an API key from