From 3319160e3a08e39f3fdb356beaf240c4acc81268 Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 6 Sep 2007 19:56:31 +0000 Subject: Account for some places inputing 'Postscript' for PS renders. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1522 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Template.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB') 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} = -- cgit v1.2.3