A book can be renewed if renewalsallowed > to renewals done, not >=

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Paul POULAIN 2008-01-13 01:39:11 -06:00 committed by Joshua Ferraro
parent 265c0ab79b
commit 743caa04fa
1 changed files with 1 additions and 1 deletions

View File

@ -1594,7 +1594,7 @@ sub CanBookBeRenewed {
if ( my $data2 = $sth2->fetchrow_hashref ) {
$renews = $data2->{'renewalsallowed'};
}
if ( $renews && $renews >= $data1->{'renewals'} ) {
if ( $renews && $renews > $data1->{'renewals'} ) {
$renewokay = 1;
}
else {