]> git.koha-community.org Git - koha.git/commit
Bug 16988 - Suspending a hold with AutoResumeSuspendedHolds disabled results in error
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 27 Jul 2016 18:00:53 +0000 (18:00 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Aug 2016 06:22:53 +0000 (08:22 +0200)
commit3810c29f61ebcd815066f1be2abc08cbb2bdc0aa
tree016d8c76a002f4e0681c795718eb67b668822026
parent46322ffc6e683d0583283e7485548d46c9586019
Bug 16988 - Suspending a hold with AutoResumeSuspendedHolds disabled results in error

iUnless AutoResumeSuspendedHolds is enabled, attempting to suspend a
hold from reserve/request.pl results in the following error:

The given date (undefined) does not match the date format (us) at
/home/vagrant/kohaclone/Koha/DateUtils.pm line 152.

Test Plan:
1) Enable SuspendHoldsIntranet
2) Disable AutoResumeSuspendedHolds
3) Attempt to suspend or unsuspend a hold
4) Note the error
5) Apply this patch
6) Repeat step 3
7) The hold should suspend or resume correctly

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Megan Wianecki <mwianecki@mtpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 91bc9451d0378d65100c828776b09395e4c88199)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt