Skip to content

Commit

Permalink
Merge pull request #17001 from seamuslee001/dev_core_1673
Browse files Browse the repository at this point in the history
dev/core#1673 Ensure that SQL statements are not duplicated in the de…
  • Loading branch information
seamuslee001 authored Apr 7, 2020
2 parents 84880f4 + c783c0a commit 0f8ba10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Report/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,7 @@ public function addToDeveloperTab($sql) {
];

$this->assignTabs();
$this->sqlFormattedArray = [];
$this->sqlArray[] = $sql;
foreach ($this->sqlArray as $sql) {
foreach (['LEFT JOIN'] as $term) {
Expand Down

0 comments on commit 0f8ba10

Please sign in to comment.