From 59fff7e2bd639024fa87b9b798723d77fc5bae9c Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 11 Jun 2019 11:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=A4=87=E6=B3=A8=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/BuyService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/BuyService.php b/application/service/BuyService.php index 96be49920..4327b7803 100755 --- a/application/service/BuyService.php +++ b/application/service/BuyService.php @@ -743,7 +743,7 @@ class BuyService 'receive_city' => $address['city'], 'receive_county' => $address['county'], 'receive_address' => $address['address'], - 'user_note' => isset($params['user_note']) ? htmlentities($params['user_note']) : '', + 'user_note' => isset($params['user_note']) ? str_replace(['"', "'"], '', strip_tags($params['user_note'])) : '', 'status' => (intval(MyC('common_order_is_booking', 0)) == 1) ? 0 : 1, 'preferential_price' => ($buy['data']['base']['preferential_price'] <= 0.00) ? 0.00 : $buy['data']['base']['preferential_price'], 'increase_price' => ($buy['data']['base']['increase_price'] <= 0.00) ? 0.00 : $buy['data']['base']['increase_price'],