Bug 16499: Remove "Use of uninitialized value" warnings in circulation.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 May 2016 14:05:59 +0000 (15:05 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 17:31:58 +0000 (17:31 +0000)
commit208637165ee40b2fe7d103c787a1f4f93b55d49b
treea30c4daa18e811349794f6bafab5a4ebe7c541b9
parent6c65b64c84199c7f90e02789ae9644f3e0c4e980
Bug 16499: Remove "Use of uninitialized value" warnings in circulation.pl

If you search for a patron in the circulation module, you get:

Use of uninitialized value $barcode in string eq at
/home/koha/src/circ/circulation.pl line 84.
Use of uninitialized value $restoreduedatespec in string eq at
/home/koha/src/circ/circulation.pl line 170.

Test plan:
- Search for a patron and confirm the warnings are not displayed anymore
- Make sure this patch does not introduce regression on bug 14015

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
circ/circulation.pl