From 187b3c553918ae5d737c445762783e9b7fa5580f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 30 Jul 2019 15:40:54 +0000 Subject: [PATCH] Bug 23390: (QA follow-up) Don't redeclare variable Signed-off-by: George Williams Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- reports/guided_reports.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 3c43de071f..ab13e1ff23 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -1090,7 +1090,7 @@ sub get_prepped_report { my %lookup; @lookup{@$param_names} = @$sql_params; - my @split = split /<<|>>/,$sql; + @split = split /<<|>>/,$sql; my @tmpl_parameters; for(my $i=0;$i<$#split/2;$i++) { my $quoted = @$param_names ? $lookup{ $split[$i*2+1] } : @$sql_params[$i]; -- 2.39.5