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

(-)a/opac/opac-reserve.pl (-3 / +2 lines)
Lines 274-283 if ( $query->param('place_reserve') ) { Link Here
274
274
275
        my $rank = $biblioData->{rank};
275
        my $rank = $biblioData->{rank};
276
        if ( $itemNum ne '' ) {
276
        if ( $itemNum ne '' ) {
277
            $canreserve = 1 if CanItemBeReserved( $borrowernumber, $itemNum )->{status} eq 'OK';
277
            $canreserve = 1 if CanItemBeReserved( $borrowernumber, $itemNum, $branch )->{status} eq 'OK';
278
        }
278
        }
279
        else {
279
        else {
280
            $canreserve = 1 if CanBookBeReserved( $borrowernumber, $biblioNum )->{status} eq 'OK';
280
            $canreserve = 1 if CanBookBeReserved( $borrowernumber, $biblioNum, $branch )->{status} eq 'OK';
281
281
282
            # Inserts a null into the 'itemnumber' field of 'reserves' table.
282
            # Inserts a null into the 'itemnumber' field of 'reserves' table.
283
            $itemNum = undef;
283
            $itemNum = undef;
284
- 

Return to bug 23774