diff options
author | Yorhel <git@yorhel.nl> | 2018-01-12 15:32:45 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-01-12 15:32:47 +0100 |
commit | 0dfcad1921d1f20e51ebb5dc6d07e330367f3631 (patch) | |
tree | 7d421cd1f0666950885dc6e8586641cb63226d76 /lib/VNDB/Handler/Releases.pm | |
parent | 5c31c5f1629709ce337626cd0dfa216adf3828a4 (diff) |
Don't allow unlikely short GTIN codes
Should fix https://vndb.org/t2520.237
Diffstat (limited to 'lib/VNDB/Handler/Releases.pm')
-rw-r--r-- | lib/VNDB/Handler/Releases.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm index 3181566e..2e058fb6 100644 --- a/lib/VNDB/Handler/Releases.pm +++ b/lib/VNDB/Handler/Releases.pm @@ -217,7 +217,7 @@ sub _infotable { if($r->{gtin}) { Tr; - td gtintype $r->{gtin}; + td gtintype($r->{gtin}) || 'GTIN'; td $r->{gtin}; end; } |