GI-181 Gmail Integration> Notice de busqueda de lenguaje
This commit is contained in:
@@ -44,6 +44,10 @@ $curl_response = curl_exec( $curl );
|
|||||||
curl_close($curl);
|
curl_close($curl);
|
||||||
$decodedResp = json_decode($curl_response);
|
$decodedResp = json_decode($curl_response);
|
||||||
|
|
||||||
|
if(!is_object($decodedResp) || property_exists($decodedResp,'error')) {
|
||||||
|
die($decodedResp->error->message);
|
||||||
|
}
|
||||||
|
|
||||||
//getting the enviroment
|
//getting the enviroment
|
||||||
$enviroment = $decodedResp->enviroment;
|
$enviroment = $decodedResp->enviroment;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user