Browse Source

PHP7 fix #107

develop
Raphael Jackstadt 9 years ago
parent
commit
586e9316a6
  1. 2
      application/helpers/recaptchalib_helper.php

2
application/helpers/recaptchalib_helper.php

@ -52,7 +52,7 @@ class ReCaptcha
* *
* @param string $secret shared secret between site and ReCAPTCHA server. * @param string $secret shared secret between site and ReCAPTCHA server.
*/ */
function ReCaptcha($secret) public function __construct($secret)
{ {
if ($secret == null || $secret == "") { if ($secret == null || $secret == "") {
die("To use reCAPTCHA you must get an API key from <a href='" die("To use reCAPTCHA you must get an API key from <a href='"

Loading…
Cancel
Save