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