Finish 4.13.6

This commit is contained in:
4Giedrius committed 2015-01-27 11:25:07 +02:00
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);
}