From 30f57c8942b405a83a782e382a69dc2d9412dc49 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 17 Jun 2019 11:43:03 +0800 Subject: [PATCH] fixed Notice --- webht/third_party/vendorPlanSync/libraries/Tulanduo.php | 2 +- webht/third_party/vendorPlanSync/models/Group_model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/vendorPlanSync/libraries/Tulanduo.php b/webht/third_party/vendorPlanSync/libraries/Tulanduo.php index 52bc8a4c..0f04a6b0 100644 --- a/webht/third_party/vendorPlanSync/libraries/Tulanduo.php +++ b/webht/third_party/vendorPlanSync/libraries/Tulanduo.php @@ -306,7 +306,7 @@ class Tulanduo * ) * ) */ - public function tour_apart($all_pag_info, $need_complete=false) + public function tour_apart($all_pag_info) { $apart = array(); $ret = array(); foreach ($all_pag_info as $key => $pag) { diff --git a/webht/third_party/vendorPlanSync/models/Group_model.php b/webht/third_party/vendorPlanSync/models/Group_model.php index 629eb3ce..8c63ee14 100644 --- a/webht/third_party/vendorPlanSync/models/Group_model.php +++ b/webht/third_party/vendorPlanSync/models/Group_model.php @@ -96,7 +96,7 @@ class Group_model extends CI_Model { $vgrd->ACI_PersonNum = intval($vaci->ACI_PersonNum); $vgrd->ACI_ChildNum = intval($vaci->ACI_ChildNum); $vgrd->ACI_BabyNum = intval($vaci->ACI_BabyNum); - $vgrd->PAG_DEI_SN = $vaci->PAG_DEI_SN; + $vgrd->PAG_DEI_SN = $vaci->PAG_DEI_SN ? $vaci->PAG_DEI_SN : 0; if ( strval($vaci->ACI_ServiceType)==='D') { $vgrd->PAG_Code = mb_strtoupper($vaci->PAG_Code); $vgrd->PAG_ExtendType = mb_strtoupper($vaci->PAG_ExtendType);