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

This commit is contained in:
jrenslin committed 2024-09-05 14:25:14 +02:00
commit bce4268a70
1 file changed
+1 -1
+1 -1
View File
@@ -411,7 +411,7 @@ public static function validate_isbn(string $input):string {
}
// Remove hyphens
$input = trim(strtr($input, ["-" => "", "–" => "", " " => ""]));
$input = trim(strtr($input, ["-" => "", "–" => "", '—' => '', " " => ""]));
// ISBN 10
if (\mb_strlen($input) === 10) {