fix Contribution Aggregate by Relationship report
authoryashodha <yashodha.chaku@webaccess.co.in>
Wed, 14 Aug 2013 08:39:21 +0000 (14:09 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Wed, 14 Aug 2013 08:39:21 +0000 (14:09 +0530)
CRM/Report/Form/Contribute/History.php

index b412fa33efdc63ecebdfd7457c2142b247453875..a5beb3965dcb767f938d76ac7d971b1f4f12228b 100644 (file)
@@ -683,15 +683,13 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
   }
 
   // Override "This Year" $op options
-  static function getOperationPair($type = "string", $fieldName = NULL) {
-      if ($fieldName == 'this_year' || $fieldName == 'other_year') {
-          return array('calendar' => ts('Is Calendar Year'), 'fiscal' => ts('Fiscal Year Starting'));
-      }
-      return parent::getOperationPair($type, $fieldName);
+  function getOperationPair($type = "string", $fieldName = NULL) {
+    if ($fieldName == 'this_year' || $fieldName == 'other_year') {
+      return array('calendar' => ts('Is Calendar Year'), 'fiscal' => ts('Fiscal Year Starting'));
+    }
+    return parent::getOperationPair($type, $fieldName);
   }
 
-
-
   function alterDisplay(&$rows) {
     if (empty($rows)) {
       return;