From: jitendrapurohit Date: Fri, 5 Dec 2014 12:54:31 +0000 (+0530) Subject: optimised modification X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ceebbde95e886cfa55f9cb49a988e77655435da3;p=civicrm-core.git optimised modification --- diff --git a/CRM/Contact/Form/Task/Label.php b/CRM/Contact/Form/Task/Label.php index 20d4eb19c9..161500a60c 100644 --- a/CRM/Contact/Form/Task/Label.php +++ b/CRM/Contact/Form/Task/Label.php @@ -266,7 +266,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { continue; } - $contact = $contact[$locName] + $contact; + $contact = array_merge($contact, $contact[$locName]); unset($contact[$locName]); if (!empty($contact['county_id'])) {