fix whitespaces
authoryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 16 Jun 2015 06:49:44 +0000 (12:19 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 16 Jun 2015 06:49:44 +0000 (12:19 +0530)
CRM/Activity/Form/Task.php
CRM/Activity/Selector/Search.php
CRM/Report/Form/Activity.php

index 4ed8c5839f718ba62ac9e247471eb68e6953e76b..0ce725dcaec5500021211544f85b90a653ba87f5 100644 (file)
@@ -118,8 +118,8 @@ class CRM_Activity_Form_Task extends CRM_Core_Form {
       $activityClause = NULL;
 
       $components = CRM_Core_Component::getNames();
-      foreach($components as $componentID => $componentName) {
-        if (! CRM_Core_Permission::check("access $componentName")) {
+      foreach ($components as $componentID => $componentName) {
+        if (!CRM_Core_Permission::check("access $componentName")) {
           $componentClause = " (activity_type.component_id IS NULL OR activity_type.component_id <> {$componentID}) ";
         }
       }
index ade5b26779211a9a7112b57f3b17d1afa1d4d915..d094b4d697241bcbf08b74dab86ed284cd541fd4 100644 (file)
@@ -176,7 +176,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
     // CRM-12675
     $components = CRM_Core_Component::getNames();
     foreach ($components as $componentID => $componentName) {
-      if (! CRM_Core_Permission::check("access $componentName")) {
+      if (!CRM_Core_Permission::check("access $componentName")) {
         $componentClause[] = " (activity_type.component_id IS NULL OR activity_type.component_id <> {$componentID}) ";
       }
     }
index 2c101a2e9d60b57a2dc9791db8232ba0442b4449..0766288043f42f269a03b57f341c3ea4bbeec342 100644 (file)
@@ -600,7 +600,7 @@ class CRM_Report_Form_Activity extends CRM_Report_Form {
     // CRM-12675
     $components = CRM_Core_Component::getNames();
     foreach ($components as $componentID => $componentName) {
-      if (! CRM_Core_Permission::check("access $componentName")) {
+      if (!CRM_Core_Permission::check("access $componentName")) {
         $clauses[] = " ({$this->_aliases['civicrm_option_value']}.component_id IS NULL OR {$this->_aliases['civicrm_option_value']}.component_id <> {$componentID}) ";
       }
     }