X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FTask%2FLabel.php;h=a4c711d6f8cc4ad4bcec9a3d366ad88e0cc656db;hb=44fa888540e8bd14c5d6fa20e438c032f9f6b0f0;hp=c920aa6bda32f665ad6f62fc2baec80e5ec8a4b4;hpb=4a18ea04fcdddbb8badc1c7f878d0b338c48f26d;p=civicrm-core.git diff --git a/CRM/Contact/Form/Task/Label.php b/CRM/Contact/Form/Task/Label.php index c920aa6bda..a4c711d6f8 100644 --- a/CRM/Contact/Form/Task/Label.php +++ b/CRM/Contact/Form/Task/Label.php @@ -40,7 +40,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { /** - * build all the data structures needed to build the form + * Build all the data structures needed to build the form * * @return void * @access public @@ -51,7 +51,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { } /** - * Build the form + * Build the form object * * @access public * @@ -92,7 +92,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { } /** - * This function sets the default values for the form. + * Set default values for the form. * * @param null * @@ -109,7 +109,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { } /** - * process the form after the input has been submitted and validated + * Process the form after the input has been submitted and validated * * @access public * @@ -266,6 +266,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { continue; } + $contact = array_merge($contact, $contact[$locName]); unset($contact[$locName]); if (!empty($contact['county_id'])) { @@ -374,7 +375,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { return FALSE; } /** - * function to create labels (pdf) + * Create labels (pdf) * * @param array $contactRows assciated array of contact data * @param string $format format in which labels needs to be printed @@ -402,7 +403,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task { } /** - * function to create the array of returnProperties + * Create the array of returnProperties * * @param string $format format for which return properties build *