From 318bd754149bb718494ea9de28edeab6153a9e32 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Sun, 30 Sep 2018 14:37:35 +0000 Subject: [PATCH] Bug 8367: Fixed how expirationdate is calculated when ExcludeHolidaysFromMaxPickUpDelay syspref is enabled Sponsored-By: Brimbank Library, Australia --- Koha/Hold.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index dcd09eeb4fd..c1010abdd01 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -220,7 +220,7 @@ sub set_waiting { } if ( C4::Context->preference("ExcludeHolidaysFromMaxPickUpDelay") ) { - $expirationdate = $calendar->days_forward( dt_from_string(), $issuingrule->{holdspickupwait} ); + $expirationdate = $calendar->days_forward( dt_from_string(), $issuingrule->holdspickupwait ); } # If patron's requested expiration date is prior to the -- 2.11.0