Author: boutell
Date: 2010-02-23 22:19:49 +0100 (Tue, 23 Feb 2010)
New Revision: 28240
Modified:
plugins/sfDoctrineApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
Log:
Stray use of nonexistent variable was crashing rather than producing a graceful
error message in the event that email delivery failed outright
Modified:
plugins/sfDoctrineApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
===================================================================
---
plugins/sfDoctrineApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
2010-02-23 21:17:54 UTC (rev 28239)
+++
plugins/sfDoctrineApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
2010-02-23 21:19:49 UTC (rev 28240)
@@ -29,10 +29,10 @@
}
catch (Exception $e)
{
- $mailer->disconnect();
$profile = $this->form->getObject();
$user = $profile->getUser();
$user->delete();
+ throw $e;
// You could re-throw $e here if you want to
// make it available for debugging purposes
return 'MailerError';
--
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.