Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge 'mabe/CodeOptimations'
Browse files Browse the repository at this point in the history
Conflicts:
	library/Zend/Feed/Reader/Reader.php
  • Loading branch information
weierophinney committed Jul 29, 2010
8 parents 5597c0a + cf3e018 + 490086e + 50418c6 + 0b49cb4 + 325fdd2 + 0c61247 + 9ad7896 commit 6f66646
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -963,11 +963,10 @@ public function getLastMethod()
public function _doRequest(Client\Common $client, $request, $location, $action, $version, $one_way = null)
{
// Perform request as is
if ($one_way == null) {
return call_user_func(array($client,'SoapClient::__doRequest'), $request, $location, $action, $version);
} else {
return call_user_func(array($client,'SoapClient::__doRequest'), $request, $location, $action, $version, $one_way);
if ($one_way === null) {
return $client->__doRequest($request, $location, $action, $version);
}
return $client->__doRequest($request, $location, $action, $version, $one_way);
}

/**
Expand Down

0 comments on commit 6f66646

Please sign in to comment.