Merge pull request #4963 from rohankatkar/CRM-15830
[civicrm-core.git] / CRM / Report / Form / Contribute / OrganizationSummary.php
index c79912840eaa6c6e9fa0fdd353842032b2d70259..b7a766d54d7dc9e02def55d8b48c425e23f6445f 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -56,10 +55,8 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
   protected $otherContact;
 
   /**
-   *
    */
   /**
-   *
    */
   public function __construct() {
     self::validRelationships();
@@ -458,8 +455,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
       }
 
       // convert Organization display name to links
-      if (array_key_exists('civicrm_contact_organization_organization_name', $row) && !empty($rows[$rowNum]
-        ['civicrm_contact_organization_organization_name']) &&
+      if (array_key_exists('civicrm_contact_organization_organization_name', $row) && !empty($rows[$rowNum]['civicrm_contact_organization_organization_name']) &&
         array_key_exists('civicrm_contact_organization_id', $row)
       ) {
         $url = CRM_Utils_System::url('civicrm/contact/view',