Skip to content
Snippets Groups Projects
Commit 4df4723f authored by yogeshwar's avatar yogeshwar
Browse files

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

parent e48a9132
No related branches found
No related tags found
No related merge requests found
...@@ -156,6 +156,9 @@ class Vtiger_Save_Action extends Vtiger_Action_Controller { ...@@ -156,6 +156,9 @@ class Vtiger_Save_Action extends Vtiger_Action_Controller {
$fieldModelList = $moduleModel->getFields(); $fieldModelList = $moduleModel->getFields();
foreach ($fieldModelList as $fieldName => $fieldModel) { foreach ($fieldModelList as $fieldName => $fieldModel) {
$fieldValue = $request->get($fieldName, null); $fieldValue = $request->get($fieldName, null);
if(is_array($fieldValue)){
$fieldValue=implode(' |##| ',$fieldValue);
}
$fieldDataType = $fieldModel->getFieldDataType(); $fieldDataType = $fieldModel->getFieldDataType();
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