From 6798355886b3b7297d5ba424c8587eb3100325be Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 28 Mar 2019 10:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E8=A1=A8=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trippestOrderSync/controllers/order_finance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/trippestOrderSync/controllers/order_finance.php b/webht/third_party/trippestOrderSync/controllers/order_finance.php index 123dd5a2..ee9bac2f 100644 --- a/webht/third_party/trippestOrderSync/controllers/order_finance.php +++ b/webht/third_party/trippestOrderSync/controllers/order_finance.php @@ -42,7 +42,7 @@ class Order_finance extends CI_Controller { return; } $report_order_exists = $this->OrderFinance_model->get_report_order($order_info->ordernumber); - if ( ! empty($report_order_exists)) { + if ( ! empty($report_order_exists) && $debug===false) { return $this->output->set_content_type('application/json')->set_output(json_encode($report_order_exists)); } return $this->generate_report($order_info, $debug);