WHMCS no longer errors due to syntax error

This commit is contained in:
Christopher York 2013-05-26 21:42:28 -05:00
parent 0e9529a8d2
commit 4d01eba23f

View file

@ -418,7 +418,7 @@ class WebsitePanel
$esUrl = (($this->_esUseSsl ? "https" : "http") . "://{$this->_esServerUrl}:{$this->_esServerPort}/{$serviceFile}?WSDL");
$soapParams = array('login' => $this->_esUsername,
'password' => $this->_esPassword,
'cache_wsdl' => WSDL_CACHE_NONE, // WSDL caching is an annoying nightmare - we will disable it
'cache_wsdl' => WSDL_CACHE_NONE // WSDL caching is an annoying nightmare - we will disable it
);
try
{
@ -432,7 +432,7 @@ class WebsitePanel
}
catch (Exception $e)
{
throw;
throw new Exception($e->getMessage());
}
}
}