reporting-20: don't display soft credits by default when force=1
authorJon Goldberg <jon@megaphonetech.com>
Mon, 16 Sep 2019 16:08:37 +0000 (12:08 -0400)
committerJon Goldberg <jon@megaphonetech.com>
Mon, 16 Sep 2019 16:08:37 +0000 (12:08 -0400)
CRM/Report/Form/Contribute/Detail.php

index bea5471f545d3b9ff7f7b1954d28c3ce6d9b7e30..447e2a4bd5ea4133259a26bdbdbe8fc99298f048 100644 (file)
@@ -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 &&