Skip to content

Commit

Permalink
Append values onto the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido De Gobbis committed Mar 31, 2015
1 parent 60d5d2b commit c95792e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/captcha/recaptcha/recaptchalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ private function _encodeQS($data)
*/
private function _submitHTTPGet($path, $data)
{
$req = $this->_encodeQS($data);
$http = JHttpFactory::getHttp();
$response = $http->get($path, $data)->body;
$response = $http->get($path.'?'.$req)->body;

return $response;
}
Expand Down

0 comments on commit c95792e

Please sign in to comment.