From 3c0dcfa90c8268fda10757bcbc33aaf8e215e181 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 1 Jul 2024 15:53:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PayPal=20=E6=94=B6=E6=AC=BE=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=AE=A1=E6=A0=B8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/models/paypal_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/paypal/models/paypal_model.php b/webht/third_party/paypal/models/paypal_model.php index beddba2a..ed21cc47 100644 --- a/webht/third_party/paypal/models/paypal_model.php +++ b/webht/third_party/paypal/models/paypal_model.php @@ -99,12 +99,12 @@ class Paypal_model extends CI_Model { where GAI_COLI_SN = $coli_sn and GAI_AccreditNo = '$pn_txn_id'"; $info_query = $this->HT->query($info_sql); - $info_result = $info_query->result(); + $info_result = $info_query->result_array(); $group_accout_info = array( 'GAI_SN' => 0, 'GAI_State' => 0 ); - if (!empty($info_empty)) { + if (!empty($info_result)) { $group_accout_info = $info_result[0]; } return $group_accout_info;