Skip to content

Commit

Permalink
Merge pull request #3 from gogromat/patch-1
Browse files Browse the repository at this point in the history
Fix double curl bug by @gogromat
  • Loading branch information
Stichoza committed Sep 22, 2013
2 parents c032abf + 28169be commit aff76a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GoogleTranslate.php
Expand Up @@ -89,6 +89,7 @@ public static final function makeCurl($url, array $params = array(), $cookieSet
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);
return $output;
}

$queryString = http_build_query($params);
Expand Down

0 comments on commit aff76a3

Please sign in to comment.