Fix bug in validating ISBN 13s
This commit is contained in:
parent
589161219f
commit
9507387c8a
@ -316,7 +316,7 @@ final class MD_STD_IN {
|
||||
}
|
||||
|
||||
// ISBN 13
|
||||
if (\mb_strlen($input) === 10) {
|
||||
if (\mb_strlen($input) === 13) {
|
||||
|
||||
if (\preg_match('/\d{13}/i', $input)) {
|
||||
return $input;
|
||||
|
Loading…
Reference in New Issue
Block a user