v2.1.3
This commit is contained in:
parent
3daee2df53
commit
19ef0566df
610 changed files with 21958 additions and 3112 deletions
|
|
@ -30,7 +30,7 @@ class RestXmlSerializer extends RestSerializer
|
|||
{
|
||||
$opts['headers']['Content-Type'] = 'application/xml';
|
||||
$body = $this->getXmlBody($member, $value);
|
||||
$opts['headers']['Content-Length'] = strlen($body);
|
||||
$opts['headers']['Content-Length'] = (string) strlen($body);
|
||||
$opts['body'] = $body;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue