Merge branch 'master' of gitea:museum-digital/MD_STD

This commit is contained in:
Joshua Ramon Enslin 2024-09-05 14:25:14 +02:00
commit bce4268a70
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -411,7 +411,7 @@ final class MD_STD_IN {
}
// Remove hyphens
$input = trim(strtr($input, ["-" => "", "" => "", " " => ""]));
$input = trim(strtr($input, ["-" => "", "" => "", '—' => '', " " => ""]));
// ISBN 10
if (\mb_strlen($input) === 10) {