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

#Fixes::157692300::Yogeshwar::In DeatailView Multi-combobox custom Field issue

parents 40d966a8 440b96ca
No related branches found
No related tags found
No related merge requests found
...@@ -157,6 +157,9 @@ class Vtiger_Save_Action extends Vtiger_Action_Controller { ...@@ -157,6 +157,9 @@ class Vtiger_Save_Action extends Vtiger_Action_Controller {
foreach ($fieldModelList as $fieldName => $fieldModel) { foreach ($fieldModelList as $fieldName => $fieldModel) {
$fieldValue = $request->get($fieldName, null); $fieldValue = $request->get($fieldName, null);
$fieldDataType = $fieldModel->getFieldDataType(); $fieldDataType = $fieldModel->getFieldDataType();
if(is_array($fieldValue) && $fieldDataType == 'multipicklist'){
$fieldValue=implode(' |##| ',$fieldValue);
}
if($fieldDataType == 'time' && $fieldValue !== null){ if($fieldDataType == 'time' && $fieldValue !== null){
$fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue); $fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue);
} }
......
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