View | Details | Raw Unified | Return to bug 31112
Collapse All | Expand All

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2963-2969 sub CanBookBeRenewed { Link Here
2963
            notforloan   => 0,
2963
            notforloan   => 0,
2964
            -not         => { itemnumber => $itemnumber } })->as_list;
2964
            -not         => { itemnumber => $itemnumber } })->as_list;
2965
2965
2966
        return ( 0, "on_reserve" ) if scalar @other_items < scalar @possible_holds;
2966
        return ( 0, "on_reserve" ) if @possible_holds && (scalar @other_items < scalar @possible_holds);
2967
2967
2968
        my %matched_items;
2968
        my %matched_items;
2969
        foreach my $possible_hold (@possible_holds) {
2969
        foreach my $possible_hold (@possible_holds) {
2970
- 

Return to bug 31112