Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7289

Subject is overwritten when sending HTML/Text membership renewal reminders

    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.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dharmatech Dharmatech
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: