X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fajax-functions.php;h=59ad97d18115e41998485789ffaadd02ced519ba;hb=839c74c5882de11b95046f6bca0ea0e02ea139c8;hp=1b46e221bb35960c19dc067811c00cbd545ac01e;hpb=df4166450ac4788f58931bd5d30c617432a63f9d;p=mailer.git diff --git a/inc/ajax-functions.php b/inc/ajax-functions.php index 1b46e221bb..59ad97d181 100644 --- a/inc/ajax-functions.php +++ b/inc/ajax-functions.php @@ -132,7 +132,7 @@ function sendAjaxContent () { // Is the status fine or template not found (404)? if (isAjaxHttpStatusAccepted()) { // Then output the JSON - outputHtml(json_encode($GLOBALS['ajax_reply'], JSON_FORCE_OBJECT)); + outputHtml(encodeJson($GLOBALS['ajax_reply'])); } // END - if }