diff --git a/soapclient/SforceBaseClient.php b/soapclient/SforceBaseClient.php index e00f4fd..3b494c7 100644 --- a/soapclient/SforceBaseClient.php +++ b/soapclient/SforceBaseClient.php @@ -1003,7 +1003,7 @@ public function __construct($response=NULL) { } foreach ($response as $responseKey => $responseValue) { - if (in_array($responseKey, array('Id', 'type', 'any'))) { + if (in_array(strval($responseKey), array('Id', 'type', 'any'))) { continue; } $this->$responseKey = $responseValue;