'reply_content' => NULL,
);
+ // Init call-back debug information
+ $GLOBALS['ajax_callback_function'] = NULL;
+
// Set content type (mostly JSON)
setContentType('application/json');
// 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
}