diff --git a/CRM/Report/Form/Contribute/Repeat.php b/CRM/Report/Form/Contribute/Repeat.php index 8fc1786ae996..e9f0d418212f 100644 --- a/CRM/Report/Form/Contribute/Repeat.php +++ b/CRM/Report/Form/Contribute/Repeat.php @@ -1035,7 +1035,7 @@ protected function buildTempTables() { CREATE TEMPORARY TABLE $this->tempTableRepeat1 ( {$create} {$this->contributionJoinTableColumn} int unsigned, -total_amount_sum int, +total_amount_sum decimal(20,2), total_amount_count int ) ENGINE=HEAP {$this->_databaseAttributes}"; $this->executeReportQuery($sql); @@ -1050,7 +1050,7 @@ protected function buildTempTables() { CREATE TEMPORARY TABLE $this->tempTableRepeat2 ( {$create} {$this->contributionJoinTableColumn} int unsigned, -total_amount_sum int, +total_amount_sum decimal(20,2), total_amount_count int, currency varchar(3) ) ENGINE=HEAP {$this->_databaseAttributes}";