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

SF.net SVN: ledger-smb:[3244] trunk/LedgerSMB/Mailer.pm



Revision: 3244
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3244&view=rev
Author:   ehuelsmann
Date:     2011-06-13 23:05:07 +0000 (Mon, 13 Jun 2011)

Log Message:
-----------
Fix Mailer.pm trying to include a non-exsting file:
refer to the tempfile instead of the 'filename to be used for the attachment'

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

Modified: trunk/LedgerSMB/Mailer.pm
===================================================================
--- trunk/LedgerSMB/Mailer.pm	2011-06-13 22:55:30 UTC (rev 3243)
+++ trunk/LedgerSMB/Mailer.pm	2011-06-13 23:05:07 UTC (rev 3244)
@@ -183,7 +183,7 @@
 	if (defined $args{data}) {
 		@data = ('Data', $args{data});
 	} else {
-		@data = ('Path', $args{filename});
+		@data = ('Path', $args{file});
 	}
 
 	$self->{_message}->attach(


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