diff --git a/webht/third_party/vendorPlanSync/libraries/Tulanduo.php b/webht/third_party/vendorPlanSync/libraries/Tulanduo.php index fe2d8703..e3176bfb 100644 --- a/webht/third_party/vendorPlanSync/libraries/Tulanduo.php +++ b/webht/third_party/vendorPlanSync/libraries/Tulanduo.php @@ -309,6 +309,10 @@ class Tulanduo { $apart = array(); $ret = array(); foreach ($all_pag_info as $key => $pag) { + if ( ! isset($pag->PAG_DEI_SN)) { + // 通宵火车或其他, 不含该社行程 + continue; + } // CH下的产品编号修正 if (intval($pag->PAG_DEI_SN)===1 && ! empty($pag->PAG_Code)) { $pag->PAG_Code = $this->ci->trippest->ch_code_transfer( mb_strtoupper($pag->PAG_Code));