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

(-)a/reserve/placerequest.pl (-3 / +2 lines)
Lines 72-78 my $found; Link Here
72
72
73
# if we have an item selectionned, and the pickup branch is the same as the holdingbranch
73
# if we have an item selectionned, and the pickup branch is the same as the holdingbranch
74
# of the document, we force the value $rank and $found .
74
# of the document, we force the value $rank and $found .
75
if ($checkitem ne ''){
75
if (defined $checkitem && $checkitem ne ''){
76
    $rank[0] = '0' unless C4::Context->preference('ReservesNeedReturns');
76
    $rank[0] = '0' unless C4::Context->preference('ReservesNeedReturns');
77
    my $item = $checkitem;
77
    my $item = $checkitem;
78
    $item = GetItem($item);
78
    $item = GetItem($item);
Lines 98-104 if ($type eq 'str8' && $borrower){ Link Here
98
        }
98
        }
99
        my $const;
99
        my $const;
100
100
101
	if ($checkitem ne ''){
101
	if (defined $checkitem && $checkitem ne ''){
102
		my $item = GetItem($checkitem);
102
		my $item = GetItem($checkitem);
103
        	if ($item->{'biblionumber'} ne $biblionumber) {
103
        	if ($item->{'biblionumber'} ne $biblionumber) {
104
                	$biblionumber = $item->{'biblionumber'};
104
                	$biblionumber = $item->{'biblionumber'};
105
- 

Return to bug 8474