From 1fee71300ec0f5ab9ae7b75595aa276066898cda Mon Sep 17 00:00:00 2001 From: cyc Date: Sat, 13 Jul 2019 11:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=81=AB=E8=BD=A6=E5=87=BA=E7=A5=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E8=BD=AC=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 bbd5fcd6..8596499f 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', 'i', 'o', 'u', 'n', 'A', 'E', 'I', 'O', 'U', 'N','','','',''), + array('¨¢', '?', '¨¦', '¨¨', '¨ª', '¨®', '¨²', '?', '¨¢', '¨¦', '¨ª', '¨®', '¨²', '?',' ','/',' ',','), + array('a', 'e', 'e', 'e', 'i', 'o', 'u', 'n', 'A', 'E', 'I', 'O', 'U', 'N','','','',''), $name ); return substr(strtoupper($name),0,30);