Priority = 0 does not equal reserve found, only found='W' equals reserve found

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-12-23 19:16:11 -06:00 committed by Joshua Ferraro
parent 618ae1855b
commit 883edf9391
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ my $alreadyreserved;
my $borrowerinfo = GetMemberDetails( 0, $cardnumber );
foreach my $res (@$reserves) {
if ( ( $res->{found} eq 'W' ) or ( $res->{priority} == 0 ) ) {
if ( ( $res->{found} eq 'W' ) ) {
$count--;
}