Bugzilla – Attachment 9876 Details for
Bug 8177
Correct a double declaration of variable in Addreturn subroutine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correct double declaration of variable $type in Addreturn
0001-Correct-double-declaration-of-variable-in-Addreturn.patch (text/plain), 1005 bytes, created by
Koha Team University Lyon 3
on 2012-06-01 12:24:58 UTC
(
hide
)
Description:
Correct double declaration of variable $type in Addreturn
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2012-06-01 12:24:58 UTC
Size:
1005 bytes
patch
obsolete
>From fe26c2038013d6aa968d414532fd3d7dfb44b461 Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Fri, 1 Jun 2012 12:18:45 +0200 >Subject: [PATCH] Correct double declaration of variable in Addreturn > >$type variable was declared two times in Addreturn >(Circulation.pm module, line 1631) >--- > C4/Circulation.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 73aa5bb..ec86fa7 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1627,7 +1627,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}, >-- >1.7.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8177
: 9876