Continued on AJAX installer to start first step (more are easily to add)
[mailer.git] / inc / ajax-functions.php
index 1b46e221bb35960c19dc067811c00cbd545ac01e..59ad97d18115e41998485789ffaadd02ced519ba 100644 (file)
@@ -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
 }