From 1a4a052e4863eca9b0a2536047e2525065e97f66 Mon Sep 17 00:00:00 2001 From: liapples Date: Tue, 24 Aug 2021 00:28:41 +0800 Subject: [PATCH] =?UTF-8?q?old=5Fstatus=E5=A2=9E=E5=8A=A0isset=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AdminAgent/Controllers/OrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AdminAgent/Controllers/OrderController.php b/app/AdminAgent/Controllers/OrderController.php index afd335d..a9e9699 100644 --- a/app/AdminAgent/Controllers/OrderController.php +++ b/app/AdminAgent/Controllers/OrderController.php @@ -68,7 +68,7 @@ class OrderController extends AdminController $refund_info = [ '退款单号' => $this->refund_info['refund_no'] ?? '', '退款说明' => $this->refund_info['desc'] ?? '', - '退款前状态' => $this->refund_info['old_status'] ? OrderStatus::array()[$this->refund_info['old_status']] : '', + '退款前状态' => isset($this->refund_info['old_status']) ? OrderStatus::array()[$this->refund_info['old_status']] : '', '退款凭据' => $html, ]; return Table::make($refund_info);