]> git.koha-community.org Git - koha.git/commit
Bugfix:[3.2] Corrects bad behavior in opac-reserve.pl
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 3 Feb 2010 13:47:33 +0000 (08:47 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 3 Feb 2010 13:53:19 +0000 (08:53 -0500)
commit6e376d0484dba6b96a66f2cded20efd61b8f1d13
tree9b6dfbb159d74af158717fb9174d0f313e5d6d70
parent1caeb52f030604f8f215bea6603572f45b4a9d38
Bugfix:[3.2] Corrects bad behavior in opac-reserve.pl

When AllowOnShelfHolds is enabled, but maxreserves is NULL, attempting to reserve
an item results in a basically blank page being returned with no error message.

This patch adds a check to see if the check for maxreserves has returned a value and
bypasses the application of it if it has not.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/opac-reserve.pl