[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4608] branches/1.3/LedgerSMB/Template.pm



Revision: 4608
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4608&view=rev
Author:   einhverfr
Date:     2012-03-28 04:15:49 +0000 (Wed, 28 Mar 2012)
Log Message:
-----------
Correcting Template.pm so that pdf generation for other dynatable will work

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Template.pm

Modified: branches/1.3/LedgerSMB/Template.pm
===================================================================
--- branches/1.3/LedgerSMB/Template.pm	2012-03-28 03:48:55 UTC (rev 4607)
+++ branches/1.3/LedgerSMB/Template.pm	2012-03-28 04:15:49 UTC (rev 4608)
@@ -316,7 +316,7 @@
 	} elsif (defined $self->{output} or lc $method eq 'screen') {
 		$self->_http_output;
 		throw CancelFurtherProcessing();
-	} elsif (defined $method) {
+	} elsif (defined $method and $method ne '' ) {
 		$self->_lpr_output;
 	} else {
 		$self->_http_output_file;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.