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

Merge branch 'fix_issue_1689' into 'master'

Fixes #1689 which prevented saving multipicklist fields in quick create

See merge request !857
parents ea743825 5608e916
No related branches found
No related tags found
No related merge requests found
...@@ -1271,7 +1271,7 @@ class Vtiger_Util_Helper { ...@@ -1271,7 +1271,7 @@ class Vtiger_Util_Helper {
}elseif(!empty($fieldValue) && $fieldDataType == 'multipicklist'){ }elseif(!empty($fieldValue) && $fieldDataType == 'multipicklist'){
if(!empty($editablePicklistValues)){ if(!empty($editablePicklistValues)){
foreach($fieldValue as $key => $value){ foreach($fieldValue as $key => $value){
if(!isset($editablePicklistValues[$fieldValue])){ if(!isset($editablePicklistValues[$value])){
unset($fieldValue[$key]); unset($fieldValue[$key]);
} }
} }
......
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