mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Issue #2389 Possible fix for soap fatal error.
This commit is contained in:
@@ -613,8 +613,17 @@ class e_marketplace_adapter_wsdl extends e_marketplace_adapter_abstract
|
||||
$auth->authKey = $this->getAuthKey();
|
||||
$header = new SoapHeader('http://e107.org/services/auth', 'checkAuthHeader', $auth);
|
||||
|
||||
if(!is_object($this->client))
|
||||
{
|
||||
$result['exception'] = array();
|
||||
$result['exception']['message'] = "Unable to connect at this time.";
|
||||
return $result;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
$this->client->__setSoapHeaders(array($header));
|
||||
if(is_array($args) && $apply)
|
||||
{
|
||||
|
Reference in New Issue
Block a user