initialize array

This commit is contained in:
Guillermo Dev
2019-02-09 06:51:38 +01:00
parent e65b4d1bd3
commit 1720f8c8da

View File

@@ -37,7 +37,10 @@ abstract class WebService
try { try {
$result = $this->call($sendSession); $result = $this->call($sendSession);
$data['result'] = array();
$data["result"][$this->func] = $result; $data["result"][$this->func] = $result;
$data = $this->filterOutput($data); $data = $this->filterOutput($data);
} catch (WebException $e) { } catch (WebException $e) {