From: Mathieu Lutfy Date: Tue, 19 Mar 2019 12:45:35 +0000 (-0400) Subject: dev/core#795 Fix PHP warning when updating a multiselect country field. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1532c327918591093c9d0c0620a9795085e09514;p=civicrm-core.git dev/core#795 Fix PHP warning when updating a multiselect country field. --- diff --git a/CRM/Core/BAO/CustomValueTable.php b/CRM/Core/BAO/CustomValueTable.php index 84417ab6f6..bd4807cc1c 100644 --- a/CRM/Core/BAO/CustomValueTable.php +++ b/CRM/Core/BAO/CustomValueTable.php @@ -124,7 +124,6 @@ class CRM_Core_BAO_CustomValueTable { case 'Country': $type = 'Integer'; - $mulValues = explode(',', $value); if (is_array($value)) { $value = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $value) . CRM_Core_DAO::VALUE_SEPARATOR; $type = 'String';