|
|
@@ -79,14 +79,15 @@ class JobProvider extends BaseModelDataProvider implements ClientArea
|
|
|
//hosting_id
|
|
|
$this->formData['hosting_id']= $this->getWhmcsParamByKey('serviceid');
|
|
|
//vm_id
|
|
|
- $this->formData['vm_id'] = $this->model->id;
|
|
|
+ $this->model->vm_id = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVmModel()->id;
|
|
|
+ $this->formData['vm_id'] = $this->model->vm_id;
|
|
|
|
|
|
logModuleCall(
|
|
|
'proxmoxCloud',
|
|
|
__FUNCTION__,
|
|
|
- $this->formData,
|
|
|
+ $this->formData['vm_id'],
|
|
|
'Debug',
|
|
|
- $this->model
|
|
|
+ $this->model->vm_id
|
|
|
);
|
|
|
|
|
|
//fill from data
|