Change json_encode by Bootstrap::json_encode
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user