Fix for dev/core#428.
authorAllen Shaw <allen@JoineryHQ.com>
Tue, 9 Oct 2018 17:50:21 +0000 (12:50 -0500)
committerAllen Shaw <allen@JoineryHQ.com>
Wed, 17 Oct 2018 15:35:03 +0000 (10:35 -0500)
CRM/Report/Form/Activity.php

index 9b55f415fa95bd1f92dfe303c2e3e7c55e732f43..25d19b48a16a9d5b73ff935e754385a945d77f36 100644 (file)
@@ -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