optimised modification
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 5 Dec 2014 12:54:31 +0000 (18:24 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 5 Dec 2014 12:54:31 +0000 (18:24 +0530)
CRM/Contact/Form/Task/Label.php

index 20d4eb19c9f27dfba6ba56e09abcfcfd22be6564..161500a60c7364fca9cbf65f297b37f4855bf00a 100644 (file)
@@ -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'])) {