CRM-15691 fix for Mailing Labels pulling incorrect address when location type other...
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 5 Dec 2014 11:26:24 +0000 (16:56 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 5 Dec 2014 11:26:24 +0000 (16:56 +0530)
CRM/Contact/Form/Task/Label.php

index c920aa6bda32f665ad6f62fc2baec80e5ec8a4b4..20d4eb19c9f27dfba6ba56e09abcfcfd22be6564 100644 (file)
@@ -266,6 +266,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
           continue;
         }
 
+        $contact = $contact[$locName] + $contact;
         unset($contact[$locName]);
 
         if (!empty($contact['county_id'])) {