From 33dfc3d83ff012d56b6ea334feb99d9b0762e0b7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 9 Feb 2015 10:16:11 +0100 Subject: [PATCH] =?utf8?q?Finanzcontrolling/-=C3=BCbersicht:=20Refactor=20?= =?utf8?q?map=20zu=20Post-for?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Kein map für Statements nutzen, bei denen es nur auf den Nebeneffekt aber nicht auf das Ergebnis ankommt. --- SL/Controller/FinancialOverview.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/FinancialOverview.pm b/SL/Controller/FinancialOverview.pm index a8a1c3e16..19ae44103 100644 --- a/SL/Controller/FinancialOverview.pm +++ b/SL/Controller/FinancialOverview.pm @@ -57,7 +57,7 @@ sub prepare_report { purchase_invoices => { text => t8('Purchase Invoices') }, ); - map { $column_defs{$_}->{align} = 'right' } @columns; + $column_defs{$_}->{align} = 'right' for @columns; $self->report->set_options( std_column_visibility => 1, -- 2.20.1