Merge pull request #1939 from kurund/CRM-13327
[civicrm-core.git] / CRM / Utils / Migrate / Export.php
index d7d86619580bbf4485f392a8f4b517823b845dd8..235a513ab72871314e822e4f4546c89d8389390f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -471,6 +471,9 @@ class CRM_Utils_Migrate_Export {
             elseif ($object->extends == 'Relationship') {
               $key = 'relationship_type';
             }
+            elseif($object->extends == 'Case') {
+              $key = 'case_type';
+            }
             $types = explode(CRM_Core_DAO::VALUE_SEPARATOR, substr($object->$name, 1, -1));
             $values = array();
             if (in_array($object->extends, array('Individual', 'Organization', 'Household'))) {