|
|
@@ -164,17 +164,8 @@ class EditSettingDataProvider extends BaseDataProvider
|
|
|
$value = in_array($field, $fieldToProtection) ? htmlentities($value) : $value;
|
|
|
}
|
|
|
|
|
|
- $maildomain = $this->getActionElementIdValue();
|
|
|
+ $maildomain = $this->formData['editmaildomain'];
|
|
|
$domain = $this->getWhmcsParamByKey('domain');
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $this,
|
|
|
- 'Debug API',
|
|
|
- $domain
|
|
|
- );
|
|
|
-
|
|
|
if ($maildomain == $domain) {
|
|
|
$this->formData['dkimsigenabled'] == 'on' ? $attr['isDkimEnabled'] = true : $attr['isDkimEnabled'] = false;
|
|
|
$this->formData['tfaenabled'] == 'on' ? $attr['twoFAEnabled'] = true : $attr['twoFAEnabled'] = false;
|