From: yashodha Date: Wed, 14 Aug 2013 08:39:21 +0000 (+0530) Subject: fix Contribution Aggregate by Relationship report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0b0b778f5f79f8c90bae6a24af6eec21cb482621;p=civicrm-core.git fix Contribution Aggregate by Relationship report --- 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;