[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1522] trunk/LedgerSMB/Template.pm
- Subject: SF.net SVN: ledger-smb: [1522] trunk/LedgerSMB/Template.pm
- From: ..hidden..
- Date: Thu, 06 Sep 2007 12:56:31 -0700
Revision: 1522
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1522&view=rev
Author: tetragon
Date: 2007-09-06 12:56:31 -0700 (Thu, 06 Sep 2007)
Log Message:
-----------
Account for some places inputing 'Postscript' for PS renders.
Modified Paths:
--------------
trunk/LedgerSMB/Template.pm
Modified: trunk/LedgerSMB/Template.pm
===================================================================
--- trunk/LedgerSMB/Template.pm 2007-09-06 16:22:54 UTC (rev 1521)
+++ trunk/LedgerSMB/Template.pm 2007-09-06 19:56:31 UTC (rev 1522)
@@ -60,6 +60,7 @@
$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} =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.