新增期卷号处理

This commit is contained in:
chengxl
2025-11-28 09:25:11 +08:00
parent dbc697e57f
commit 2a5e011593

View File

@@ -861,7 +861,7 @@ function my_doiToFrag2($data)
$suffix = empty($parts[1]) ? 0 : intval($parts[1]);
if($prefix > $suffix){
$prefixLen = strlen($prefix);
$suffixLen = strlen($sufix);
$suffixLen = strlen($suffix);
$missingLen = $prefixLen - $suffixLen;
if ($missingLen > 0) {
$fillPart = substr($prefix, 0, $missingLen);