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

(-)a/C4/Reserves.pm (-1 / +6 lines)
Lines 1744-1749 sub _FixPriority { Link Here
1744
            $j + 1,
1744
            $j + 1,
1745
            $priority[$j]->{'reserve_id'}
1745
            $priority[$j]->{'reserve_id'}
1746
        );
1746
        );
1747
        if ( $j == 0 ) {
1748
            my $res = GetReserve( $priority[$j]->{'reserve_id'} );
1749
            if ( $res->{itemnumber} ) {
1750
                ModReserveAffect({ itemnumber => $res->{itemnumber}, borrowernumber => $res->{borrowernumber} });
1751
            }
1752
        }
1747
    }
1753
    }
1748
1754
1749
    $sth = $dbh->prepare( "SELECT reserve_id FROM reserves WHERE lowestPriority = 1 ORDER BY priority" );
1755
    $sth = $dbh->prepare( "SELECT reserve_id FROM reserves WHERE lowestPriority = 1 ORDER BY priority" );
1750
- 

Return to bug 10827