Skip to content

Commit

Permalink
Merge pull request #12915 from twomice/428_activity_report_fatal_sect…
Browse files Browse the repository at this point in the history
…ion_headers

Fix for dev/core#428: Fatal error in Activity Details report when Sorting uses Section Header
  • Loading branch information
eileenmcnaughton authored Oct 17, 2018
2 parents d037704 + ab663ec commit 155390c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Report/Form/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ public function sectionTotals() {
$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
Expand Down

0 comments on commit 155390c

Please sign in to comment.