X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FJSON.php;h=adb349fb900ecbe40bda112f5839d95a0a751fb7;hb=cda772aae0c600de9033d3360dfde772a2a78f64;hp=00287a5eaab62c25176b42a434b76782f3ca6684;hpb=a969ba2b3fc64eebf12a98e3bfc69212d832ee19;p=civicrm-core.git diff --git a/CRM/Utils/JSON.php b/CRM/Utils/JSON.php index 00287a5eaa..adb349fb90 100644 --- a/CRM/Utils/JSON.php +++ b/CRM/Utils/JSON.php @@ -1,7 +1,7 @@ ', $value[$element]), '"\\') . '"'; //remove extra spaces and tab character that breaks dataTable CRM-12551 - $sOutput = preg_replace("/\s+/", " ", $sOutput); + $sOutput = preg_replace("/\s+/", " ", $sOutput); $addcomma = TRUE; } $sOutput .= "],"; @@ -154,5 +164,5 @@ class CRM_Utils_JSON { return $sOutput; } -} +}