mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Update Service.php
This commit is contained in:
1 parent
756519ee46
commit
f6b9377867
1 file changed
+1
-1
@@ -444,7 +444,7 @@ class Service implements InjectionAwareInterface
|
||||
|
||||
public function toApiArray(\Model_ServiceHosting $model, $deep = false, $identity = null)
|
||||
{
|
||||
$serviceHostingModel = $this->di['db']->load('ServiceHosting', $model->service_hosting_server_id);
|
||||
$serviceHostingModel = $this->di['db']->load('ServiceHostingServer', $model->service_hosting_server_id);
|
||||
$serviceHostingHpModel = $this->di['db']->load('ServiceHostingHp', $model->service_hosting_hp_id);
|
||||
$server = $this->toHostingServerApiArray($serviceHostingModel, $deep, $identity);
|
||||
$hp = $this->toHostingHpApiArray($serviceHostingHpModel, $deep, $identity);
|
||||
|
||||
Reference in new issue
Block a user