diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index a8955408eec0..984f3eef915a 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1403,7 +1403,7 @@ public function addToDeveloperTab($sql) { $this->sqlArray[] = $sql; foreach ($this->sqlArray as $sql) { foreach (array('LEFT JOIN') as $term) { - $sql = str_replace($term, '
  ' . $term, $sql); + $sql = str_replace($term, '
' . $term, $sql); } foreach (array('FROM', 'WHERE', 'GROUP BY', 'ORDER BY', 'LIMIT', ';') as $term) { $sql = str_replace($term, '

' . $term, $sql);