Skip to content
Snippets Groups Projects
Commit bd157bbc authored by Apparao G's avatar Apparao G
Browse files

Merged with Master

parents a5ee5ec2 1b943f0a
No related branches found
No related tags found
No related merge requests found
......@@ -96,13 +96,14 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action {
if(!empty($massEditable)){
$fieldInstance->set('masseditable', $massEditable);
}
$defaultValue = $fieldInstance->get('defaultvalue');
$defaultValue = $fieldInstance->get('defaultvalue');
if(!is_null($request->get('fieldDefaultValue', null))) {
$defaultValue = decode_html($request->get('fieldDefaultValue'));
$fieldInstance->set('defaultvalue', $defaultValue);
}
$response = new Vtiger_Response();
try{
$fieldInstance->save();
$fieldInstance = Settings_LayoutEditor_Field_Model::getInstance($fieldId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment