From: jitendrapurohit Date: Fri, 5 Dec 2014 11:26:24 +0000 (+0530) Subject: CRM-15691 fix for Mailing Labels pulling incorrect address when location type other... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0f8d387d78ff828641b227b38aa5c94765abecd1;p=civicrm-core.git CRM-15691 fix for Mailing Labels pulling incorrect address when location type other than Home or Primary requested --- diff --git a/CRM/Contact/Form/Task/Label.php b/CRM/Contact/Form/Task/Label.php index c920aa6bda..20d4eb19c9 100644 --- a/CRM/Contact/Form/Task/Label.php +++ b/CRM/Contact/Form/Task/Label.php @@ -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'])) {