Browse Source

#331 Update recaptchalib

merge-requests/2/head
Mike Koch 7 years ago
parent
commit
39a49b9cf5
  1. 2
      inc/recaptcha/recaptchalib_v2.php

2
inc/recaptcha/recaptchalib_v2.php

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

Loading…
Cancel
Save