[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5548: Correct punctuation in patch

Ian Walls ian.walls at bywatersolutions.com
Wed Mar 30 20:53:46 CEST 2011


From: Colin Campbell <colin.campbell at ptfs-europe.com>

Punctuation should be a semi-colon not a comma
It works but is a trap for the unwary in the future

Signed-off-by: Ian Walls <ian.walls at bywatersolutions.com>
---
 C4/Circulation.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index dad54e3..ca13bb8 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -2255,7 +2255,7 @@ sub AddRenewal {
     unless ($datedue) {
 
         my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 ) or return undef;
-        my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'} ,
+        my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'};
 
         $datedue = (C4::Context->preference('RenewalPeriodBase') eq 'date_due') ?
                                         C4::Dates->new($issuedata->{date_due}, 'iso') :
-- 
1.5.6.5



More information about the Koha-patches mailing list