Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cristianpontes/zoho-crm-client-php
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Pontes authored and Cristian Pontes committed Aug 16, 2017
2 parents 6d0daac + 608801a commit b883142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Transport/XmlDataTransportDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ private function parseResponseConvertLead($xml)
private function parseUpdateRelatedRecords($xml)
{
$result = (array) $xml->result;
$added = isset($result['added-ids']) ? eval('return ' . $result['added-ids'] . ';') : [];
$updated = isset($result['updated-ids']) ? eval('return ' . $result['updated-ids'] . ';') : [];
$added = isset($result['added-ids']) ? eval('return ' . $result['added-ids'] . ';') : array();
$updated = isset($result['updated-ids']) ? eval('return ' . $result['updated-ids'] . ';') : array();
$data = array(
'added-ids' => $added,
'updated-ids' => $updated
Expand Down

0 comments on commit b883142

Please sign in to comment.