From b5440b701f2b1026fa857dac829dbb7fe162fade Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 30 May 2019 15:26:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=BA=A7=E4=BD=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/ctrip/controllers/ctrip_train.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/third_party/ctrip/controllers/ctrip_train.php b/application/third_party/ctrip/controllers/ctrip_train.php index b681d955..4943ea3f 100644 --- a/application/third_party/ctrip/controllers/ctrip_train.php +++ b/application/third_party/ctrip/controllers/ctrip_train.php @@ -109,7 +109,8 @@ class ctrip_train extends CI_Controller{ $obj[$TrainInfo->FromTelcode] = $TrainInfo->FromStationName; $obj[$TrainInfo->ToTelcode] = $TrainInfo->ToStationName; $SeaType = ''; - $gjrwNum = $rwNum = $rzNum = $tdzNum = $wzNum = $yzNum = $edzNum = $ydzNum = $swzNum = $ywNum = $dwNum = null; + //余数初始化为空 + $gjrwNum = $rwNum = $rzNum = $tdzNum = $wzNum = $yzNum = $edzNum = $ydzNum = $swzNum = $ywNum = $dwNum = $ydwNum = $edzNum = null; foreach($TrainInfo->Seats as $Seats){ //从香港出发的 D/G 火车加价3% if($from == 'XJA'){