Browse Source

add chat control

andre 3 months ago
parent
commit
3718b86657

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

@@ -41,7 +41,6 @@ class EditSettingForm extends SortedFieldForm implements ClientArea
         $this->initIds('editSettingForm');
         $this->initIds('editSettingForm');
         $this->setFormType(FormConstants::UPDATE);
         $this->setFormType(FormConstants::UPDATE);
         $this->setProvider(new EditSettingDataProvider());
         $this->setProvider(new EditSettingDataProvider());
-        $this->actionElementId = $this->getRequestValue('actionElementId');
         $this->initFields();
         $this->initFields();
         $this->loadDataToForm();
         $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;
             $value = in_array($field, $fieldToProtection) ? htmlentities($value) : $value;
         }
         }
 
 
-        $maildomain = $this->actionElementId;
+        $maildomain = $this->getActionElementIdValue();
         $domain = $this->getWhmcsParamByKey('domain');
         $domain = $this->getWhmcsParamByKey('domain');
 
 
 		logModuleCall(
 		logModuleCall(