Skip to content

Commit

Permalink
dev/core#1673 Ensure that SQL statements are not duplicated in the de…
Browse files Browse the repository at this point in the history
…veloper tab of reports
  • Loading branch information
seamuslee001 committed Apr 6, 2020
1 parent 7fe7cfa commit c783c0a
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 c783c0a

Please sign in to comment.