Skip to content

Commit

Permalink
Update Cord.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj authored Mar 8, 2023
1 parent 62af7c5 commit 9352c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected function fetch()

if ($this->asXml) {
$xmlResponse = simplexml_load_string($xmlResponse);
$xmlResponse = $xmlResponse->xpath('//Data')[0]->asXML();
$xmlResponse = $xmlResponse->xpath('//Data')->asXML();

return $xmlResponse;
}
Expand Down

0 comments on commit 9352c61

Please sign in to comment.