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

SF.net SVN: ledger-smb:[3146] trunk/LedgerSMB/Template.pm



Revision: 3146
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3146&view=rev
Author:   einhverfr
Date:     2011-05-21 20:32:42 +0000 (Sat, 21 May 2011)

Log Message:
-----------
Erik's email fixes

Modified Paths:
--------------
    trunk/LedgerSMB/Template.pm

Modified: trunk/LedgerSMB/Template.pm
===================================================================
--- trunk/LedgerSMB/Template.pm	2011-05-21 20:18:01 UTC (rev 3145)
+++ trunk/LedgerSMB/Template.pm	2011-05-21 20:32:42 UTC (rev 3146)
@@ -281,7 +281,9 @@
 sub output {
 	my $self = shift;
 	my %args = @_;
-	$self->{output_args} = \%args;
+
+        for ( keys %args ) { $self->{output_args}->{$_} = $args{$_}; };
+
 	my $method = $self->{method} || $args{method} || $args{media};
 	if ('email' eq lc $method) {
 		$self->_email_output;


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