Remove nbsp handling (now it no longer works)
authoreileen <emcnaughton@wikimedia.org>
Tue, 14 Aug 2018 02:32:56 +0000 (14:32 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 14 Aug 2018 02:32:56 +0000 (14:32 +1200)
CRM/Report/Form.php

index a8955408eec05748640c00a7b8fa50bbb6787ebc..984f3eef915ac4729fb5040a6f14052e2c86c737 100644 (file)
@@ -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, '<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);