Add import labels fixes that I figured out doing memberhsip
[civicrm-core.git] / CRM / Contribute / Import / Form / MapField.php
index 78e6a869d8b18122f47005a2dccba902d0f58baf..8c24947a2bd448a4526f95ed57644f9256853d10 100644 (file)
@@ -433,7 +433,7 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField {
       if (isset($mapperKeys[$i][0]) && $mapperKeys[$i][0] == 'soft_credit') {
         $mapperSoftCredit[$i] = $mapperKeys[$i][1];
         if (strpos($mapperSoftCredit[$i], '_') !== FALSE) {
-          list($first, $second) = explode('_', $mapperSoftCredit[$i]);
+          [$first, $second] = explode('_', $mapperSoftCredit[$i]);
           $softCreditFields[$i] = ucwords($first . " " . $second);
         }
         else {