Skip to content

Commit 0f58af3

Browse files
author
Michael v/d Rijt
authored
Merge pull request #85 from meirtin/Fix#79
Update Call Wrapper function
2 parents ea33508 + 29d2a42 commit 0f58af3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Artisaninweb/SoapWrapper/SoapWrapper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ public function call($call, $data = [])
134134

135135
return $this->client($name, function ($client) use ($function, $data) {
136136
/** @var Client $client */
137+
if ($client->_soap_version == 1) {
138+
$data = [$data];
139+
}
140+
137141
return $client->SoapCall($function, $data);
138142
});
139143
}

0 commit comments

Comments
 (0)