From b2ed79527f6c73c973b16a00770af4b29f7745b3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 8 Apr 2020 10:50:43 +0200 Subject: [PATCH] Bug 7046: Remove "earlier declaration in same scope" "my" variable $numberpattern masks earlier declaration in same scope at /kohadevbox/koha/serials/subscription-add.pl line 437. --- serials/subscription-add.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 6fdc1b29d1..f0cb7b53e1 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -434,7 +434,6 @@ sub redirect_mod_subscription { my $subtype = $query->param('subtype'); my $sublength = $query->param('sublength'); my ($numberlength, $weeklength, $monthlength) = GetSubscriptionLength( $subtype, $sublength ); - my $numberpattern = $query->param('numbering_pattern'); my $locale = $query->param('locale'); my $lastvalue1 = $query->param('lastvalue1'); my $innerloop1 = $query->param('innerloop1'); -- 2.20.1