diff --git a/src/Artisaninweb/SoapWrapper/SoapWrapper.php b/src/Artisaninweb/SoapWrapper/SoapWrapper.php index 09ea0e1..3134509 100644 --- a/src/Artisaninweb/SoapWrapper/SoapWrapper.php +++ b/src/Artisaninweb/SoapWrapper/SoapWrapper.php @@ -134,6 +134,10 @@ public function call($call, $data = []) return $this->client($name, function ($client) use ($function, $data) { /** @var Client $client */ + if ($client->_soap_version == 1) { + $data = [$data]; + } + return $client->SoapCall($function, $data); }); }