]> git.koha-community.org Git - koha.git/commit
Bug 10305 - _increment_barcode is called twice
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 21 May 2013 19:58:44 +0000 (15:58 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 13 Nov 2013 14:53:09 +0000 (11:53 -0300)
commit5a7e87c2d497d2f98a645a4c7e979df51b24b8cc
treed38efa041a364b6fe6bda7f2ac849c1077f17b86
parent66d1d18cf9177163d8ccc02140693fc7dc57833c
Bug 10305 - _increment_barcode is called twice

For some reason, _increment_barcode is called twice in succession in
cataloguing/additem.pl

Test Plan:
1) Enable autobarcode = incremental
2) Catalog an item, not the barcode
3) Apply this patch
4) Catalog another item, the barcode should be the next in line
   as previously. No change should be noted.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit 449fc4e168368cc3b1991152f32a2862b578a04c)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
cataloguing/additem.pl