create new object

This commit is contained in:
Claude 2015-09-30 12:24:52 +02:00
parent 2e7be5e1cb
commit 1221a712f3

View File

@ -744,6 +744,7 @@ class Main extends CI_Controller
$url = "https://www.google.com/recaptcha/api/siteverify?secret=" . $pk . "&response;=" . $rf . "&remoteip;=" . $ra;
$response = $this->curl->simple_get($url);
$status = json_decode($response, true);
$recaptcha_response = new stdClass();
if ($status['success'])
{