From: Moritz Bunkus Date: Tue, 22 Jan 2008 16:51:32 +0000 (+0000) Subject: A5 sollte als Papiergröße ebenfalls funktionieren. X-Git-Tag: release-2.6.0beta1~304 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=26a6e8b01d9c002f95a9e0e99515ef1e54f928c4;p=kivitendo-erp.git A5 sollte als Papiergröße ebenfalls funktionieren. --- diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 965961ac5..4a76a6c15 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -631,7 +631,7 @@ sub verify_paper_size { my $requested_paper_size = lc shift; my $default_paper_size = shift; - my %allowed_paper_sizes = map { $_ => 1 } qw(a3 a4 letter legal); + my %allowed_paper_sizes = map { $_ => 1 } qw(a3 a4 a5 letter legal); return $allowed_paper_sizes{$requested_paper_size} ? $requested_paper_size : $default_paper_size; }