GI-181 Gmail Integration> Notice de busqueda de lenguaje

This commit is contained in:
Dante
2015-12-04 10:42:38 -04:00
parent f471f5cad7
commit ac867a1651

View File

@@ -44,6 +44,10 @@ $curl_response = curl_exec( $curl );
curl_close($curl);
$decodedResp = json_decode($curl_response);
if(!is_object($decodedResp) || property_exists($decodedResp,'error')) {
die($decodedResp->error->message);
}
//getting the enviroment
$enviroment = $decodedResp->enviroment;