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);