From fe77ced7ee05ad74e57c994155d733e8e94bd298 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 14 Aug 2018 14:32:56 +1200 Subject: [PATCH] Remove nbsp handling (now it no longer works) --- CRM/Report/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index a8955408ee..984f3eef91 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1403,7 +1403,7 @@ class CRM_Report_Form extends CRM_Core_Form { $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); -- 2.25.1