projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265c0ab
)
A book can be renewed if renewalsallowed > to renewals done, not >=
author
Paul POULAIN
<paul.poulain@biblibre.com>
Sun, 13 Jan 2008 07:39:11 +0000
(
01:39
-0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Mon, 14 Jan 2008 22:46:27 +0000
(16:46 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Circulation.pm
patch
|
blob
|
history
diff --git
a/C4/Circulation.pm
b/C4/Circulation.pm
index
ef041a7
..
72bd385
100644
(file)
--- a/
C4/Circulation.pm
+++ b/
C4/Circulation.pm
@@
-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 {