andre 2 mesi fa
parent
commit
34590dba41

+ 1 - 0
app/UI/Client/Setting/Forms/EditSettingForm.php

@@ -41,6 +41,7 @@ class EditSettingForm extends SortedFieldForm implements ClientArea
         $this->initIds('editSettingForm');
         $this->setFormType(FormConstants::UPDATE);
         $this->setProvider(new EditSettingDataProvider());
+        $this->actionElementId = $this->getRequestValue('actionElementId');
         $this->initFields();
         $this->loadDataToForm();
     }

+ 1 - 1
app/UI/Client/Setting/Providers/EditSettingDataProvider.php

@@ -164,7 +164,7 @@ class EditSettingDataProvider extends BaseDataProvider
             $value = in_array($field, $fieldToProtection) ? htmlentities($value) : $value;
         }
 
-        $maildomain = $this->getActionElementIdValue();
+        $maildomain = $this->actionElementId;
         $domain = $this->getWhmcsParamByKey('domain');
 
 		logModuleCall(