From ab663ec4dbedf64359a04cb7f39cff39d39b7598 Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Tue, 9 Oct 2018 12:50:21 -0500 Subject: [PATCH] Fix for dev/core#428. --- CRM/Report/Form/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Activity.php b/CRM/Report/Form/Activity.php index 9b55f415fa..25d19b48a1 100644 --- a/CRM/Report/Form/Activity.php +++ b/CRM/Report/Form/Activity.php @@ -1080,7 +1080,7 @@ GROUP BY civicrm_activity_id $having {$this->_orderBy}"; $this->_select = CRM_Contact_BAO_Query::appendAnyValueToSelect($ifnulls, $sectionAliases); $query = $this->_select . - ", count(DISTINCT civicrm_activity_id) as ct from {$this->temporaryTables['activity_temp_table']} group by " . + ", count(DISTINCT civicrm_activity_id) as ct from {$this->temporaryTables['activity_temp_table']['name']} group by " . implode(", ", $sectionAliases); // initialize array of total counts -- 2.25.1