From: Bernd Bleßmann Date: Fri, 4 Oct 2019 16:47:10 +0000 (+0200) Subject: ReportGenerator: set_options: "for" statt "map", da Rückgabewert nicht verwendet X-Git-Tag: release-3.5.6.1~468 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=70df0cd4ae810763e2602db901f6753a29e039eb;p=kivitendo-erp.git ReportGenerator: set_options: "for" statt "map", da Rückgabewert nicht verwendet --- diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 3b03f5aa1..f5301799b 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -165,7 +165,7 @@ sub set_options { while (my ($key, $value) = each %options) { if ($key eq 'pdf_export') { - map { $self->{options}->{pdf_export}->{$_} = $value->{$_} } keys %{ $value }; + $self->{options}->{pdf_export}->{$_} = $value->{$_} for keys %{ $value }; } else { $self->{options}->{$key} = $value; }