]> git.koha-community.org Git - koha.git/commit
Bug 9394: (follow-up) silence spurious warns
authorGalen Charlton <gmc@esilibrary.com>
Tue, 9 Jul 2013 14:30:14 +0000 (14:30 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 05:04:56 +0000 (05:04 +0000)
commit61522d06f138cd4280301c05e54e35c44914770c
tree1e63fc86343f8316256ca6ea0fae3915eac71a13
parent8d9e6f37109528f5d50f2b005d60489817934500
Bug 9394: (follow-up) silence spurious warns

One just needed parentheses, but the one on line 219 reflects
a slightly deeper problem -- it's running patron checks when
a patron hasn't actually been supplied.

To test:

[1] From the staff interface, bring up a biblio that has no
    holds on it, then go to the holds tab.
[2] Verify that the Apache log has no new warnings containing:

request.pl: Use of uninitialized value in string eq at /home/gmc/koha/reserve/request.pl line 219

or

request.pl: Use of uninitialized value in string eq at /home/gmc/koha/reserve/request.pl line 488

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
reserve/request.pl