From c31327845978f9cbfddb20aedfe655049bc84c69 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 9 Sep 2025 10:36:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=AF=E4=BB=98=E5=AE=9D=E9=80=80?= =?UTF-8?q?=E6=AC=BE:=20=E5=8F=91=E5=AE=A2=E4=BA=BA=E9=82=AE=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/AlipayTradeService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 95684f3d..0af5cadf 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -778,7 +778,7 @@ class AlipayTradeService extends CI_Controller $this->Alipay_model->save_automail($fromName, $fromEmail, $toName, $toEmail, $subject, $body, $M_RelatedInfo, $M_State, $M_AddTime, 'Alipay note'); // 通知客人, 客人邮箱 $customer_detail = $this->Alipay_model->get_customer_detail($advisor_info->COLI_SN, $orderid_info->ordertype); - $c_fromName = $advisor_detail->fullname; + $c_fromName = $advisor_detail->fullname ? $advisor_detail->fullname : ''; $opi_email_list = explode(";", $advisor_detail->email); // 解析外联的邮件 $c_fromEmail = trim($opi_email_list[0]); $c_toName = $customer_detail->fullname;