diff --git a/php/recaptchalib.php b/php/recaptchalib.php index 5b6f6e2..18bce2c 100644 --- a/php/recaptchalib.php +++ b/php/recaptchalib.php @@ -54,7 +54,7 @@ class ReCaptcha * Constructor. * @param string $secret shared secret between site and ReCAPTCHA server. */ - function ReCaptcha( $secret ) + function __construct( $secret ) { if ( $secret == null || $secret == "" ) {