projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d06c231
)
Fix typo in patch for bug 7849
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Tue, 24 Apr 2012 13:27:58 +0000
(14:27 +0100)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Mon, 30 Apr 2012 12:12:43 +0000
(14:12 +0200)
$type declared twice effectively throwing away the returned value
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Circulation.pm
patch
|
blob
|
history
diff --git
a/C4/Circulation.pm
b/C4/Circulation.pm
index
b7e08f2
..
3742ec7
100644
(file)
--- a/
C4/Circulation.pm
+++ b/
C4/Circulation.pm
@@
-1616,7
+1616,7
@@
sub AddReturn {
if ($borrowernumber) {
if($issue->{'overdue'}){
my ( $amount, $type, $daycounttotal ) = C4::Overdues::CalcFine( $item, $borrower->{categorycode},$branch, $datedue, $today );
-
my
$type ||= q{};
+ $type ||= q{};
if ( $amount > 0 && ( C4::Context->preference('finesMode') eq 'production' )) {
C4::Overdues::UpdateFine(
$issue->{itemnumber},