diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 19:56:31 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 19:56:31 +0000 |
commit | 3319160e3a08e39f3fdb356beaf240c4acc81268 (patch) | |
tree | c8c1a0235347019ea0aea26cdbb2d81a4ab22a6a /LedgerSMB | |
parent | 11f0f1a20492221395d6b4dde29f5d0419cae1ad (diff) |
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Template.pm | 1 |
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} = |