Merge pull request #1496 from ravishnair/CRM-13012fix
[civicrm-core.git] / CRM / Report / Form / Contribute / History.php
index b412fa33efdc63ecebdfd7457c2142b247453875..b2d705def9356a36dc4a2913c7bd49ba505f323e 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -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;