diff --git a/.gitignore b/.gitignore
index 1b58a932618a4de5ed7cea69c5b4ac23fd04787a..585abce2b3edb78d0d5e1b4aa2f0db528c23fccb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 vendor/*
 !vendor/.htaccess
+.vscode/*
\ No newline at end of file
diff --git a/modules/Calendar/actions/Save.php b/modules/Calendar/actions/Save.php
index f6b4cf19ff32dec68e476eeb92b2ff4f1b808d2c..bf585b2471c77785be2158268c91d66a15431160 100644
--- a/modules/Calendar/actions/Save.php
+++ b/modules/Calendar/actions/Save.php
@@ -150,6 +150,10 @@ class Calendar_Save_Action extends Vtiger_Save_Action {
 			if($fieldDataType == 'time' && $fieldValue !== null){
 				$fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue);
             }
+			if(is_array($fieldValue) && $fieldDataType == 'multipicklist'){
+				// Concatenating the array values of a multipicklist using implode to store them in the database.
+				$fieldValue = implode(' |##| ',$fieldValue);
+			}
             // End
             if ($fieldName === $request->get('field')) {
 				$fieldValue = $request->get('value');
diff --git a/modules/Vtiger/actions/SaveAjax.php b/modules/Vtiger/actions/SaveAjax.php
index 229a9e5d6570e22aefd35d4fbfc43f3fc9edc32f..d9d29fe2c4bbb073b493dcb9bb21060cb930ed0b 100644
--- a/modules/Vtiger/actions/SaveAjax.php
+++ b/modules/Vtiger/actions/SaveAjax.php
@@ -107,6 +107,10 @@ class Vtiger_SaveAjax_Action extends Vtiger_Save_Action {
 				if ($fieldDataType == 'time' && $fieldValue !== null) {
 					$fieldValue = Vtiger_Time_UIType::getTimeValueWithSeconds($fieldValue);
 				}
+				if(is_array($fieldValue) && $fieldDataType == 'multipicklist'){
+					//Concatenating the array values of a multipicklist using implode to store them in the database
+					$fieldValue = implode(' |##| ',$fieldValue);
+				}
                 $fieldValue = $this->purifyCkeditorField($fieldName, $fieldValue);
 				if ($fieldValue !== null) {
 					if (!is_array($fieldValue)) {