dev/core#795 Fix PHP warning when updating a multiselect country field.
authorMathieu Lutfy <mathieu@symbiotic.coop>
Tue, 19 Mar 2019 12:45:35 +0000 (08:45 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Tue, 19 Mar 2019 12:45:35 +0000 (08:45 -0400)
CRM/Core/BAO/CustomValueTable.php

index 84417ab6f6649ced6656f4b55cf2385085059c87..bd4807cc1cfd7da5482e7b7595f8cb6a60cd88aa 100644 (file)
@@ -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';