Skip to content

Commit

Permalink
Merge 44d6fab into b8467b0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Groenenberg committed Dec 15, 2017
2 parents b8467b0 + 44d6fab commit 73efb41
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 @@ -180,7 +180,7 @@ private function getRequestBody(array $parameters, array $files)
{
$body = array();
foreach ($parameters as $parameterName => $parameterValue) {
if (is_scalar($parameterValue) || is_null($parameterValue)) {
if (is_scalar($parameterValue) || (is_null($parameterValue) && $parameterName !== 'id')) {
$body[] = array(
'name' => $parameterName,
'contents' => strval($parameterValue),
Expand Down

0 comments on commit 73efb41

Please sign in to comment.