Skip to content
Snippets Groups Projects
Commit 5023b798 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1439 from yashodha/webtest-fixes

fix Contribution Aggregate by Relationship report
parents b7f43639 0b0b778f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment