Skip to content
Snippets Groups Projects
Commit d51aa92c authored by Prasad's avatar Prasad
Browse files

Merge branch '159150284' into 'master'

Fixes: The multipicklist values sent from  quick create are concatenated into...

See merge request !1170
parents 9096977c 394a15b6
No related branches found
No related tags found
1 merge request!1170Fixes: The multipicklist values sent from quick create are concatenated into...
......@@ -138,6 +138,10 @@ class Vtiger_SaveAjax_Action extends Vtiger_Save_Action {
if ($fieldDataType == 'time' && $fieldValue !== null) {
$fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue);
}
// Concatenating the array values of a multipicklist using implode to store them in the database
if(is_array($fieldValue) && $fieldDataType == 'multipicklist'){
$fieldValue=implode(' |##| ',$fieldValue);
}
$fieldValue = $this->purifyCkeditorField($fieldName, $fieldValue);
if ($fieldValue !== null) {
if (!is_array($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