]> git.koha-community.org Git - koha.git/commit
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)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 25 May 2016 09:34:12 +0000 (11:34 +0200)
commit3c86783adf9c7751516a9c523fc7a154af1ce061
treed736e5f1a3c7491a86cccb8e0c7612a4d406708a
parentbdb0f0905ae249084dfd1d538b2b87e847794c1f
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>
(cherry picked from commit 208637165ee40b2fe7d103c787a1f4f93b55d49b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/circulation.pl