https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24802 --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- My rebase: else { for (my $i=0;$i<$count;$i++){ undef $itemnumber[$i] if !$itemnumber[$i]; - ModReserve({ + my $suspend_until = $query->param( "suspend_until_" . $reserve_id[$i] ); + my $params = { rank => $rank[$i], reserve_id => $reserve_id[$i], branchcode => $branch[$i], itemnumber => $itemnumber[$i], - suspend_until => $suspend_until[$i] - }); + defined $suspend_until ? ( suspend_until => $suspend_until ) : (), + }; + if (C4::Context->preference('AllowHoldDateInFuture')) { + $params->{reservedate} = $reservedates[$i] ? dt_from_string($reservedates[$i]) : undef; + } + + ModReserve($params); } } -- You are receiving this mail because: You are watching all bug changes.