Skip to content

Commit

Permalink
Merge pull request #26134 from eileenmcnaughton/report_notice_group
Browse files Browse the repository at this point in the history
Remove notices on group_by i reports (eg pledge report)
  • Loading branch information
yashodha committed May 1, 2023
2 parents f5a67e3 + ba79698 commit f0b6536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Report/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2520,7 +2520,7 @@ public function formatDisplay(&$rows, $pager = TRUE) {
unset($this->_columnHeaders[$key]);
}
else {
foreach (['colspan', 'type'] as $expectedKey) {
foreach (['colspan', 'type', 'group_by'] as $expectedKey) {
if (!isset($this->_columnHeaders[$key][$expectedKey])) {
// Ensure it is set to prevent smarty notices.
$this->_columnHeaders[$key][$expectedKey] = FALSE;
Expand Down

0 comments on commit f0b6536

Please sign in to comment.