mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 21:03:01 +09:00
Finish 4.13.6
This commit is contained in:
commit
a321d50fdf
2 files changed
+2
-1
No files matched your search
@@ -384,6 +384,7 @@ class Service implements \Box\InjectionAwareInterface
|
||||
|
||||
require_once(dirname(__FILE__).'/ccapiclient/ccapiclient.php');
|
||||
$server = new CCServerAPIClient($centovacast_url);
|
||||
$server->cc_initialize($centovacast_url);
|
||||
$server->call($method, $account_username, $account_password, $arguments);
|
||||
|
||||
if (!$server->success) {
|
||||
|
||||
@@ -230,7 +230,7 @@ class CCBaseAPIClient {
|
||||
* @author Adrien aka Gaarf
|
||||
*/
|
||||
function xmlstr_to_array($xmlstr) {
|
||||
$doc = new DOMDocument();
|
||||
$doc = new \DOMDocument();
|
||||
$doc->loadXML($xmlstr);
|
||||
return $this->domnode_to_array($doc->documentElement);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user