From e0c463b2e0a84ebaa065605eaebe5fcb501c4aa1 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 5 Sep 2022 23:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E6=9E=B6=E9=87=8D=E5=A4=8D=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E8=AF=958?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 5457b71..ff1c55f 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -305,8 +305,8 @@ class CarInfoHandle continue; $sources = $sources->toArray(); $source_a = null; - foreach ($sources as $index => &$source) { - $source['car_phone'] = trim($source['car_phone']); + foreach ($sources as $index => $source) { + $sources[$index]['car_phone'] = trim($source['car_phone']); if (preg_match('/^1[3-9][0-9]{9}/', $source['car_phone'])) { $source_a = $source; unset($sources[$index]);