Bug 5548: Correct punctuation in patch
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 30 Mar 2011 18:53:46 +0000 (14:53 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 2 Apr 2011 06:57:13 +0000 (19:57 +1300)
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@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Circulation.pm

index 4f55ec2..c33e4d9 100644 (file)
@@ -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') :