Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-03-03-17-36-50
[civicrm-core.git] / CRM / Export / BAO / Export.php
index 51e62e483311e4bffeb567a7d41cb21beeef538c..442aa6c3f011621a0680131a43b9157cb2418b03 100644 (file)
@@ -835,6 +835,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
 
                 if (!empty($type[1])) {
                   $fldValue .= "-" . $type[1];
+                  $daoField .= "-" . $type[1];
                 }
 
                 // CRM-3157: localise country, region (both have ‘country’ context) and state_province (‘province’ context)