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:
parent
618ae1855b
commit
883edf9391
|
|
@ -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--;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue