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

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



Revision: 3811
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3811&view=rev
Author:   einhverfr
Date:     2011-10-07 22:17:28 +0000 (Fri, 07 Oct 2011)
Log Message:
-----------
Correcting setup wizard bug 3420310

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

Modified: branches/1.3/LedgerSMB/Template.pm
===================================================================
--- branches/1.3/LedgerSMB/Template.pm	2011-10-07 22:07:51 UTC (rev 3810)
+++ branches/1.3/LedgerSMB/Template.pm	2011-10-07 22:17:28 UTC (rev 3811)
@@ -302,6 +302,7 @@
         for ( keys %args ) { $self->{output_args}->{$_} = $args{$_}; };
 
 	my $method = $self->{method} || $args{method} || $args{media};
+        $method = '' if !defined $method;
 	if ('email' eq lc $method) {
 		$self->_email_output;
 	} elsif ('print' eq lc $method) {

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