diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index efa522f802db..f6dc3935e95c 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -463,7 +463,7 @@ public function from() { $this->joinEmailFromContact(); // only include tables that are in from clause - $componentTables = array_intersect($this->_aliases, $this->_component); + $componentTables = array_intersect($this->_aliases, $this->_component); $componentTables = array_flip($componentTables); $this->_selectedTables = array_diff($this->_selectedTables, $componentTables); diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 1bcb9ac0cf6e..87ba2a7e0cee 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -151,7 +151,6 @@ public function getReportTemplatesSupportingSelectWhere() { // Exclude all that do not work as of test being written. I have not dug into why not. $currentlyExcluded = [ 'contribute/repeat', - 'contact/detail', 'member/summary', 'event/summary', 'case/summary',