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

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

Return to bug 15565