From cc504e733f1a541b22091659b98f24b4fe5fd790 Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 15 Aug 2019 15:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=AB=E8=BD=A6=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E5=AD=97=E7=AC=A6=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/trainsystem/helpers/train_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/third_party/trainsystem/helpers/train_helper.php b/application/third_party/trainsystem/helpers/train_helper.php index 5b02363b..24256055 100644 --- a/application/third_party/trainsystem/helpers/train_helper.php +++ b/application/third_party/trainsystem/helpers/train_helper.php @@ -35,8 +35,8 @@ function strexchangeid($name){ //特殊字符转换 function chk_sp_name($name){ $name = str_replace( - array('á','ë','é','è','í','ó','ú','ű','ñ','á','é','í','ó','ö','ú','ű','ñ','/',' '), - array('a','e','e','e','i','o','u','u','n','A','E','I','o','o','U','U','N','',''), + array('á','ë','é','è','í','ó','ú','ű','ñ','á','é','í','ó','ö','ú','ű','ñ','/',',',' '), + array('a','e','e','e','i','o','u','u','n','A','E','I','o','o','U','U','N','','',''), $name ); return substr(strtoupper($name),0,30);