From b47a82cae7a73bf22cf265905d17c3bbcb4101b2 Mon Sep 17 00:00:00 2001 From: Nasir Iqbal Date: Tue, 31 Jan 2017 15:44:58 +0500 Subject: [PATCH] response is already json encoded --- wwwroot/gateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/gateway.php b/wwwroot/gateway.php index 4afbc78..cda31c4 100644 --- a/wwwroot/gateway.php +++ b/wwwroot/gateway.php @@ -42,7 +42,7 @@ // now process the main request $oResponse = process_response($spool_id, $application_id, $application_data, $gateway_flag); // and publish output -echo json_encode($oResponse->application_data); +echo $oResponse->application_data; // after all process data from additional app if there is any, we need to proecess it after main application // so it can use main application result to calculate next action while processing program