From: Jon Goldberg Date: Mon, 16 Sep 2019 16:08:37 +0000 (-0400) Subject: reporting-20: don't display soft credits by default when force=1 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a3b2dd00ab2f6ed4b686c90255526c1d9453f866;p=civicrm-core.git reporting-20: don't display soft credits by default when force=1 --- 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 &&