Skip to content

Commit 07b98e5

Browse files
author
WorldlineConnect
committed
Release 8.0.1.
1 parent bc8dc4c commit 07b98e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/Worldline/Connect/Sdk/Communication/MetadataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
class MetadataProvider
1414
{
15-
const SDK_VERSION = '8.0.0';
15+
const SDK_VERSION = '8.0.1';
1616

1717
/** @var string */
1818
private $integrator;

lib/Worldline/Connect/Sdk/Communicator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,9 @@ protected function getRelativeUriPathWithRequestParameters(
593593
return $relativeUriPath;
594594
}
595595
$httpQuery = http_build_query($requestParameterObjectVars);
596+
if ($httpQuery === '') {
597+
return $relativeUriPath;
598+
}
596599
// remove [0], [1] etc. that are added if properties are arrays
597600
$httpQuery = preg_replace('/%5B[0-9]+%5D/simU', '', $httpQuery);
598601
return $relativeUriPath . '?' . $httpQuery;

0 commit comments

Comments
 (0)