indentation fix
authoratif-shaikh <shaikh388@gmail.com>
Mon, 25 Aug 2014 08:18:43 +0000 (13:48 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Mon, 25 Aug 2014 08:18:43 +0000 (13:48 +0530)
CRM/Contact/Form/Task/Label.php

index c9f1071652a8c8344632ba1992e50fc1bfcf91d2..c920aa6bda32f665ad6f62fc2baec80e5ec8a4b4 100644 (file)
@@ -450,12 +450,8 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
         'first_name' => $rows[$rowID]['first_name'],
         'individual_prefix' => $rows[$rowID]['individual_prefix']
       );
-      $format = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
-        'display_name_format'
-      );
-      $firstNameWithPrefix = CRM_Utils_Address::format($formatted, $format,
-        FALSE, FALSE, TRUE
-      );
+      $format = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'display_name_format');
+      $firstNameWithPrefix = CRM_Utils_Address::format($formatted, $format, FALSE, FALSE, TRUE);
       $firstNameWithPrefix = trim($firstNameWithPrefix);
 
       // fill uniqueAddress array with last/first name tree