From a3b2dd00ab2f6ed4b686c90255526c1d9453f866 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Mon, 16 Sep 2019 12:08:37 -0400 Subject: [PATCH] reporting-20: don't display soft credits by default when force=1 --- CRM/Report/Form/Contribute/Detail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Contribute/Detail.php b/CRM/Report/Form/Contribute/Detail.php index bea5471f54..447e2a4bd5 100644 --- a/CRM/Report/Form/Contribute/Detail.php +++ b/CRM/Report/Form/Contribute/Detail.php @@ -530,7 +530,7 @@ GROUP BY {$this->_aliases['civicrm_contribution']}.currency"; $this->noDisplayContributionOrSoftColumn = TRUE; } - if (CRM_Utils_Array::value('contribution_or_soft_value', $this->_params) == 'contributions_only') { + if (CRM_Utils_Array::value('contribution_or_soft_value', $this->_params, 'contributions_only') == 'contributions_only') { $this->isContributionBaseMode = TRUE; } if ($this->isContributionBaseMode && -- 2.25.1