comanage-dev - [comanage-dev] r660 - registry/trunk/app/Model
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r660 - registry/trunk/app/Model
- Date: Fri, 24 Jan 2014 19:27:33 -0500
Author: benno
Date: 2014-01-24 19:27:33 -0500 (Fri, 24 Jan 2014)
New Revision: 660
Modified:
registry/trunk/app/Model/CoPetition.php
Log:
Fix sending of post-approval email (CO-777)
Modified: registry/trunk/app/Model/CoPetition.php
===================================================================
--- registry/trunk/app/Model/CoPetition.php 2014-01-18 04:14:44 UTC (rev
659)
+++ registry/trunk/app/Model/CoPetition.php 2014-01-25 00:27:33 UTC (rev
660)
@@ -1359,8 +1359,7 @@
$email->emailFormat('text')
->to($toEmail)
- ->subject($msgSubject)
- ->message($msgBody);
+ ->subject($msgSubject);
// If this enrollment has a default email address set, use it,
otherwise leave in the default for the site.
if(!empty($notifyFrom)) {
@@ -1368,7 +1367,7 @@
}
// Send the email
- $email->send();
+ $email->send($msgBody);
// And cut a history record
- [comanage-dev] r660 - registry/trunk/app/Model, svnlog, 01/24/2014
Archive powered by MHonArc 2.6.16.