summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Template.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Template.pm b/LedgerSMB/Template.pm
index 90db6097..2432b5f1 100755
--- a/LedgerSMB/Template.pm
+++ b/LedgerSMB/Template.pm
@@ -60,6 +60,7 @@ sub new {
$self->{myconfig} = $args{user};
$self->{template} = $args{template};
$self->{format} = $args{format};
+ $self->{format} = 'PS' if lc $self->{format} eq 'postscript';
$self->{language} = $args{language};
if ($args{outputfile}) {
$self->{outputfile} =