Author: fabien
Date: 2010-03-29 10:13:57 +0200 (Mon, 29 Mar 2010)
New Revision: 28841

Modified:
   branches/1.3/lib/mailer/sfMailer.class.php
   branches/1.4/lib/mailer/sfMailer.class.php
Log:
[1.3, 1.4] fixed previous commit

Modified: branches/1.3/lib/mailer/sfMailer.class.php
===================================================================
--- branches/1.3/lib/mailer/sfMailer.class.php  2010-03-29 07:51:34 UTC (rev 
28840)
+++ branches/1.3/lib/mailer/sfMailer.class.php  2010-03-29 08:13:57 UTC (rev 
28841)
@@ -222,7 +222,10 @@
   {
     $this->address = $address;
 
-    $this->redirectingPlugin->setRecipient($address);
+    if (sfMailer::SINGLE_ADDRESS == $this->strategy)
+    {
+      $this->redirectingPlugin->setRecipient($address);
+    }
   }
 
   /**

Modified: branches/1.4/lib/mailer/sfMailer.class.php
===================================================================
--- branches/1.4/lib/mailer/sfMailer.class.php  2010-03-29 07:51:34 UTC (rev 
28840)
+++ branches/1.4/lib/mailer/sfMailer.class.php  2010-03-29 08:13:57 UTC (rev 
28841)
@@ -222,7 +222,10 @@
   {
     $this->address = $address;
 
-    $this->redirectingPlugin->setRecipient($address);
+    if (sfMailer::SINGLE_ADDRESS == $this->strategy)
+    {
+      $this->redirectingPlugin->setRecipient($address);
+    }
   }
 
   /**

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to