@@ -38,18 +38,18 @@ class EditAccountDataProvider extends BaseDataProvider
* hosting id
*/
$hid = $this->getRequestValue('id');
+ /**
+ * load hosting
+ */
+ $hosting = Hosting::where('id', $hid)->first();
logModuleCall(
'kerioEmail',
__FUNCTION__,
$this->actionElementId,
'Debug Error',
- $hid
+ $hosting
);
- /**
- * load hosting
- */
- $hosting = Hosting::where('id', $hid)->first();
/**
* load api