Quote:
Originally Posted by magnus
You're missing a close bracket ' )' in the following block (highlighted in red):
Code:
// Check Reg Image
if ($vbulletin->options['regimagecheck'] AND $vbulletin->options['regimagetype'])
{
$resp = recaptcha_check_answer ($vbulletin->options['recaptcha_privatekey'],
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid)
{
$userdata->error('register_imagecheck');
}
}
Also, why are you typing out the code changes manually? Just copy and paste them from the original post to make sure there are no typo's and to retain proper formatting.
|
You mean it's missing in this line, not the other one:
Code:
$resp = recaptcha_check_answer ($vbulletin->options['recaptcha_privatekey'],