From 5ee61c6f50909a5dd120a2b09df081823a49bef9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 31 Aug 2021 08:53:41 +0200 Subject: [PATCH] =?utf8?q?Kosmetik:=20CVars=20f=C3=BCr=20Lagerbestand:=20V?= =?utf8?q?ariablendeklaration=20n=C3=A4her=20an=20Verwendung?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/wh.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index b7750f2ca..017e4a249 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -817,8 +817,6 @@ sub generate_report { my %myconfig = %main::myconfig; my $locale = $main::locale; - my $cvar_configs = CVar->get_configs('module' => 'IC'); - $form->{title} = $locale->text("Report about warehouse contents"); $form->{sort} ||= 'partnumber'; my $sort_col = $form->{sort}; @@ -894,6 +892,7 @@ sub generate_report { my $report = SL::ReportGenerator->new(\%myconfig, $form); + my $cvar_configs = CVar->get_configs('module' => 'IC'); my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables; -- 2.20.1