Merge remote-tracking branch 'upstream/4.3' into 4.3-4.4-2013-11-26-11-43-18
[civicrm-core.git] / CRM / Event / Import / Field.php
index ad38c9bdc476fb8f27c6086b363f73bceac6203b..d039d895013f508ad14766f0ed615f06b53ec577 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -122,7 +122,7 @@ class CRM_Event_Import_Field {
     if ($customFieldID = CRM_Core_BAO_CustomField::getKeyID($this->_name)) {
       static $customFields = NULL;
       if (!$customFields) {
-        $customFields = CRM_Core_BAO_CustomField::getFields('Membership');
+        $customFields = CRM_Core_BAO_CustomField::getFields('Participant');
       }
       if (!array_key_exists($customFieldID, $customFields)) {
         return FALSE;