Merge pull request #4981 from totten/master-cbf2
[civicrm-core.git] / CRM / Contact / Form / Location.php
index 2c8f35a39e058ee4e2e70ddf149d5d59869d9250..5126495b23d1392e9fde8cdca0494644b2245941 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -55,8 +55,11 @@ class CRM_Contact_Form_Location {
 
     $className = CRM_Utils_System::getClassName($form);
     if (in_array($className, array(
-      'CRM_Event_Form_ManageEvent_Location', 'CRM_Contact_Form_Domain'))) {
-      $form->_blocks = array('Address' => ts('Address'),
+      'CRM_Event_Form_ManageEvent_Location',
+      'CRM_Contact_Form_Domain',
+    ))) {
+      $form->_blocks = array(
+        'Address' => ts('Address'),
         'Email' => ts('Email'),
         'Phone' => ts('Phone'),
       );
@@ -119,4 +122,5 @@ class CRM_Contact_Form_Location {
     $form->assign('generateAjaxRequest', $generateAjaxRequest);
     $form->assign('ajaxRequestBlocks', $ajaxRequestBlocks);
   }
+
 }