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

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

Return to bug 15565