diff --git a/GoogleTranslate.php b/GoogleTranslate.php index ab9b24f..aafe1cd 100644 --- a/GoogleTranslate.php +++ b/GoogleTranslate.php @@ -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);