From ba8648b813eb2485b954aa55adda8656e159f924 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 2 Apr 2024 15:29:35 +0800 Subject: [PATCH] update --- app/common/model/marketing/MarketingCustomContacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/marketing/MarketingCustomContacts.php b/app/common/model/marketing/MarketingCustomContacts.php index 52e059f0d..189793fc1 100644 --- a/app/common/model/marketing/MarketingCustomContacts.php +++ b/app/common/model/marketing/MarketingCustomContacts.php @@ -34,6 +34,6 @@ public function getGenderTextAttr($value, $data) { $arr = [0 => '男', 1 => '女']; - return $data[$arr['gender']]; + return $arr[$data['gender']]; } } \ No newline at end of file