https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24802

--- Comment #8 from Lucas Gass <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to