From bd635e84a62067b0013f89324b797b88de0d6939 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 5 Sep 2014 17:44:49 +0200 Subject: [PATCH] Missing type Id on update fix --- src/Phpforce/SoapClient/Soap/SoapClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Phpforce/SoapClient/Soap/SoapClient.php b/src/Phpforce/SoapClient/Soap/SoapClient.php index bd90617..36492fc 100755 --- a/src/Phpforce/SoapClient/Soap/SoapClient.php +++ b/src/Phpforce/SoapClient/Soap/SoapClient.php @@ -65,6 +65,7 @@ public function getSoapElements($complexType) { $types = $this->getSoapTypes(); if (isset($types[$complexType])) { + if (isset($types['sObject']['Id'])) $types[$complexType]['Id'] = $types['sObject']['Id']; return $types[$complexType]; } }