* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
'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
}