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

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

Return to bug 15565