Author: lombardot
Date: 2010-05-25 12:30:24 +0200 (Tue, 25 May 2010)
New Revision: 29615

Modified:
   
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/actions/actions.class.php
Log:
[sfEmailMeAFireShot] lombardot little update

Modified: 
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/actions/actions.class.php
===================================================================
--- 
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/actions/actions.class.php
       2010-05-25 10:18:16 UTC (rev 29614)
+++ 
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/actions/actions.class.php
       2010-05-25 10:30:24 UTC (rev 29615)
@@ -12,7 +12,7 @@
             
                        if($this->form->isValid()){
                                $mailer=$this->getMailer();
-                               $attach=new 
Swift_Attachment(base64_decode($this->form->getValue('capture')),'sfEmailMeAFireShot
 '.date('Y-m-d h:i:s').'.png','image/png');
+                               $attach=new 
Swift_Attachment(base64_decode($this->getUser()->getAttribute('sfEmailMeAFireShot_base64')),'sfEmailMeAFireShot
 '.date('Y-m-d h:i:s').'.png','image/png');
                                if(method_exists($this->getUser(),'getMail')){
                                        $from=$this->getUser()->getMail();
                                        if($from=='')

-- 
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