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

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

Return to bug 15565