From 0b0b778f5f79f8c90bae6a24af6eec21cb482621 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 14 Aug 2013 14:09:21 +0530 Subject: [PATCH] fix Contribution Aggregate by Relationship report --- CRM/Report/Form/Contribute/History.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/CRM/Report/Form/Contribute/History.php b/CRM/Report/Form/Contribute/History.php index b412fa33ef..a5beb3965d 100644 --- a/CRM/Report/Form/Contribute/History.php +++ b/CRM/Report/Form/Contribute/History.php @@ -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; -- 2.25.1