From 5210bcce2721d2088489a5ae61acdecc75565d51 Mon Sep 17 00:00:00 2001 From: francescbassas Date: Mon, 24 Dec 2018 11:18:50 +0100 Subject: [PATCH] Update Repeat.php --- CRM/Report/Form/Contribute/Repeat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Contribute/Repeat.php b/CRM/Report/Form/Contribute/Repeat.php index 0beac39635..c5466dd4b9 100644 --- a/CRM/Report/Form/Contribute/Repeat.php +++ b/CRM/Report/Form/Contribute/Repeat.php @@ -574,7 +574,7 @@ LEFT JOIN $this->tempTableRepeat2 {$this->_aliases['civicrm_contribution']}2 } else { foreach ($fields['fields'] as $fld_id => $value) { - if (!($fld_id == 'total_amount1') && !($fld_id == 'total_amount2') && !(substr( $fld_id, 0, 7 ) === "custom_")) { + if (!($fld_id == 'total_amount1') && !($fld_id == 'total_amount2') && !(substr($fld_id, 0, 7) === "custom_")) { $found = FALSE; $invlidGroups = array(); foreach ($fields['group_bys'] as $grp_id => $val) { -- 2.25.1