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

SF.net SVN: ledger-smb:[6748] branches/1.3/bin/rp.pl



Revision: 6748
          http://sourceforge.net/p/ledger-smb/code/6748
Author:   einhverfr
Date:     2014-02-04 09:58:17 +0000 (Tue, 04 Feb 2014)
Log Message:
-----------
Fix for email address inputs ignored in sending statements, bug 920, still tentative.

Modified Paths:
--------------
    branches/1.3/bin/rp.pl

Modified: branches/1.3/bin/rp.pl
===================================================================
--- branches/1.3/bin/rp.pl	2014-02-04 09:57:09 UTC (rev 6747)
+++ branches/1.3/bin/rp.pl	2014-02-04 09:58:17 UTC (rev 6748)
@@ -1417,6 +1417,9 @@
     $form->{subject} = $locale->text( 'Statement - [_1]', $form->{todate} )
       unless $form->{subject};
     $form->isblank( "email", $locale->text('E-mail address missing!') );
+    my $email = $form->{email};
+    my $cc = $form->{cc};
+    my $bcc = $form->{bcc};
 
     my $selected = 0;
     RP->aging( \%myconfig, $form );
@@ -1511,9 +1514,9 @@
         method => 'email',
         locale => $locale,
         output_options => {
-            to => $form->{email},
-            cc => $form->{cc},
-            bcc => $form->{bcc},
+            to => $email,
+            cc => $cc,
+            bcc => $bcc,
             from => $form->{form},
             subject => $form->{subject},
             message => $form->{message},

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits