Change json_encode by Bootstrap::json_encode

This commit is contained in:
Julio Cesar Laura
2013-03-11 09:00:19 -04:00
parent e9f8dd6200
commit 3009e7b74b

View File

@@ -136,7 +136,7 @@ if( isset($request) ){
if (isset($_REQUEST['json'])) { if (isset($_REQUEST['json'])) {
header("Content-Type: application/json"); header("Content-Type: application/json");
echo json_encode(array("status" => 0, "results" => $aResults)); echo Bootstrap::json_encode(array("status" => 0, "results" => $aResults));
} else { } else {
header("Content-Type: text/xml"); header("Content-Type: text/xml");