]> git.koha-community.org Git - koha.git/commit
Bug 15730 - 500 error on returns.pl if barcode doesn't exist
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 3 Feb 2016 15:10:30 +0000 (15:10 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 23 Feb 2016 21:32:42 +0000 (21:32 +0000)
commit27231db75d222ac0dad655e8e8b918afac9477ec
tree207b8657919377bc7aac515a115f0dcb3fdc7b01
parent0277c545b0369046e3d2785689ea52b99d84962f
Bug 15730 - 500 error on returns.pl if barcode doesn't exist

If a librarian enters a barcode that does not match an item in the
database, a 500 error will be displayed instead of the "No item with
barcode" message.

Test Plan:
1) Enter an invalid barcode on returns.pl
2) Note the 500 error
3) Apply this patch
4) Repeat setp 1
5) Note the "No item with barcode" message

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
circ/returns.pl