Skip to content

Commit

Permalink
Remove nbsp handling (now it no longer works)
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Aug 14, 2018
1 parent 911eb44 commit fe77ced
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 @@ -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, '<br>&nbsp&nbsp' . $term, $sql);
$sql = str_replace($term, '<br> ' . $term, $sql);
}
foreach (array('FROM', 'WHERE', 'GROUP BY', 'ORDER BY', 'LIMIT', ';') as $term) {
$sql = str_replace($term, '<br><br>' . $term, $sql);
Expand Down

0 comments on commit fe77ced

Please sign in to comment.