Browse Source

Update inc_fun_funAdmin.php

develop
叙述、别离 3 weeks ago
parent
commit
7ce6e7998d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/inc/inc_fun_funAdmin.php

+ 2
- 2
src/system/inc/inc_fun_funAdmin.php View File

@@ -59,12 +59,12 @@ function SpGetPinyin($str, $ishead = 0, $isclose = 1)
$restr .= $pinyins[$c][0]; $restr .= $pinyins[$c][0];
} }
} else { } else {
$restr .= "_";
$restr .= "-";
} }
} else if (preg_match("/[a-z0-9]/i", $str[$i])) { } else if (preg_match("/[a-z0-9]/i", $str[$i])) {
$restr .= $str[$i]; $restr .= $str[$i];
} else { } else {
$restr .= "_";
$restr .= "-";
} }
} }
if ($isclose == 0) { if ($isclose == 0) {


Loading…
Cancel
Save