@@ -20,7 +20,7 @@ class RessourceDataProvider extends BaseDataProvider
public function read()
{
- $this->data['domain'] = $hosting->domain;
+ $this->data['domain'] = $this->getWhmcsParamByKey('domain');
$api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
try {