INFRA-32 batch 11
[civicrm-core.git] / CRM / Contact / Page / View / Summary.php
index 169a9766e9d58b05793d474c316923377c0f05b9..03d2d270b254c9dedcf029449785d0bafb0b0fad 100644 (file)
@@ -360,14 +360,14 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
     foreach ($rest as $k => $v) {
       if ($accessCiviCRM && !empty($this->_viewOptions[$k])) {
         $allTabs[] = $v + array(
-            'id' => $k,
-            'url' => CRM_Utils_System::url(
-              "civicrm/contact/view/$k",
-              "reset=1&cid={$this->_contactId}"
-            ),
-            'weight' => $weight,
-            'count' => CRM_Contact_BAO_Contact::getCountComponent($k, $this->_contactId),
-          );
+          'id' => $k,
+          'url' => CRM_Utils_System::url(
+            "civicrm/contact/view/$k",
+            "reset=1&cid={$this->_contactId}"
+          ),
+          'weight' => $weight,
+          'count' => CRM_Contact_BAO_Contact::getCountComponent($k, $this->_contactId),
+        );
         $weight += 10;
       }
     }