post.php: remove extra comma

This commit is contained in:
Zankaria 2024-09-12 12:45:57 +02:00
parent cd00809040
commit 3243fcc826

View file

@ -85,7 +85,7 @@ function check_recaptcha($secret, $response, $remote_ip)
$req = sprintf( $req = sprintf(
'https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s', 'https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s',
$secret, $secret,
urlencode($response), urlencode($response)
); );
} }
$resp = json_decode(file_get_contents($req), true); $resp = json_decode(file_get_contents($req), true);