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

(-)a/reserve/placerequest.pl (-3 / +6 lines)
Lines 106-114 if ( $type eq 'str8' && $borrower ) { Link Here
106
        } else {
106
        } else {
107
            # place a request on 1st available
107
            # place a request on 1st available
108
            for ( my $i = 0 ; $i < $holds_to_place_count ; $i++ ) {
108
            for ( my $i = 0 ; $i < $holds_to_place_count ; $i++ ) {
109
                my $item = GetItem($checkitems[$i]);
109
                my $item;
110
                if ($checkitems[$i]) {
111
                    $item = GetItem($checkitems[$i]);
112
                }
110
                AddReserve( $branch, $borrower->{'borrowernumber'},
113
                AddReserve( $branch, $borrower->{'borrowernumber'},
111
                    $item->{biblionumber}, \@realbi, $rank[0], $startdate, $expirationdate, $notes, $title,
114
                    ($item ? $item->{biblionumber} : $biblionumber), \@realbi,
115
                    $rank[0], $startdate, $expirationdate, $notes, $title,
112
                    $checkitems[$i], $found[$i] );
116
                    $checkitems[$i], $found[$i] );
113
            }
117
            }
114
        }
118
        }
115
- 

Return to bug 15565