Skip to content

Commit

Permalink
Merge pull request #85 from meirtin/Fix#79
Browse files Browse the repository at this point in the history
Update Call Wrapper function
  • Loading branch information
Michael v/d Rijt authored Mar 14, 2017
2 parents ea33508 + 29d2a42 commit 0f58af3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Artisaninweb/SoapWrapper/SoapWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 0f58af3

Please sign in to comment.