Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.3.0, 3.3.1
-
Fix Version/s: 3.3.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
Line 266 in CRM/Core/BAO/MessageTemplates.php overwrites $messageSubject with the text body. The sendReminder() function is called from UpdateMembershipRecord.php.
The result is a member receives an e-mail with the text body as the subject, instead of the subject defined in the membership settings.
The line should read:
$messageSubject = CRM_Utils_Token::replaceComponentTokens( $messageSubject, $contact, $tokens[$value], true );
This was verified on a clean 3.31 install.