Skip to content

Commit

Permalink
Merge pull request avadev#160 from avasachinbaijal/AS-9
Browse files Browse the repository at this point in the history
Fixes for AS-9 (Transaction calls are not returning the result with version 20.12 )
  • Loading branch information
svc-developer authored Jan 7, 2022
2 parents 7da6df8 + 5f740e0 commit fc047aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected function restCall($apiUrl, $verb, $guzzleParams, $apiversion='')

if ( in_array ("application/json",$contentTypes))
{
if ($length ==0 and intdiv($code , 100) ==2 ){
if ($contentLength!=null and $length ==0 and intdiv($code , 100) ==2 ){
return null;
}
}
Expand Down

0 comments on commit fc047aa

Please sign in to comment.