Skip to content

Commit

Permalink
PHP7 fix #107
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Mar 3, 2016
1 parent fc0f29b commit 586e931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/recaptchalib_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href='"
Expand Down

0 comments on commit 586e931

Please sign in to comment.