style fixes
authorFranky Van Liedekerke <liedekef@localhost.localdomain>
Fri, 2 Sep 2016 16:04:11 +0000 (18:04 +0200)
committerFranky Van Liedekerke <liedekef@localhost.localdomain>
Fri, 2 Sep 2016 16:04:11 +0000 (18:04 +0200)
CRM/Custom/Import/Form/MapField.php
CRM/Custom/Import/Parser/Api.php

index 3f5b0298b1a566d0bc3b89dadbdc062188fc02a8..cf8614a787e6da026953c8611dea7b7635de3990 100644 (file)
@@ -6,7 +6,6 @@
 class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
   protected $_parser = 'CRM_Custom_Import_Parser_Api';
   protected $_mappingType = 'Import Multi value custom data';
-//  protected $_highlightedFields = array();
   /**
    * Entity being imported to.
    * @var string
index ccb307b7c99d9b26bc519852ea0e6ba4570d67b9..9f2000921da1cb5095a03165bfd3b5e7bd812dd6 100644 (file)
@@ -170,7 +170,8 @@ class CRM_Custom_Import_Parser_Api extends CRM_Custom_Import_Parser {
       $checkCid->external_identifier = $this->_params['external_identifier'];
       $checkCid->find(TRUE);
       $formatted['id'] = $checkCid->id;
-    } else {
+    } 
+    else {
       $formatted['id'] = $this->_params['contact_id'];
     }
     $setDateFields = array_intersect_key($this->_params, array_flip($this->_dateFields));