Bug 20972: If ISBN has 10 numbers only the first 9 numbers are used
authorxljoha <johan.larsson@ub.gu.se>
Thu, 21 Jun 2018 07:58:55 +0000 (09:58 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 28 Jun 2018 08:42:16 +0000 (10:42 +0200)
commit7a14e9d6e477c0c3904df099e11afbf15fdee701
tree2f9c9747c98f84114c1614e91d37f5354321d74d
parentffd7365d86edc2dd0f9a00921d6640450f09fdfb
Bug 20972: If ISBN has 10 numbers only the first 9 numbers are used

If ISBN has 10 numbers only the first 9 numbers are being added to the Edifact-message (PIA+5+3540556753:IB')

This is caused by wrong positioning of capturing parentheses in a regular expression.

Sponsored-by: Gothenburg University Library
Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b9bd93e9205d4b8344a77214fefb8efe2c84792e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Edifact/Order.pm