From CiviCRM 5.72.1 to CiviCRM 5.74.alpha1 - If any of Message Templates are saved then the Smarty Code is mangled in subtle and very disastrous ways
From CiviCRM 5.72.1 to CiviCRM 5.74.alpha1 - If any of Message Templates are saved then the Smarty Code is mangled in subtle and very disastrous ways.
For example, using the text from the Contributions - Receipt (on-line) Message Template.
- Copy and paste the HTML value from Contributions - Receipt (on-line) into a Message Template
- Note the location of the text: "{if !empty($is_recur)}"
- Save and reload
- Again check the location of the text: "{if !empty($is_recur)}"
- Note that this has been changed, substantially.
Because of this change, https://github.com/civicrm/civicrm-core/pull/29532/files#diff-b49ba142d264612517ea640be98eab6b82c8083c557bff6973890499d04e778fR782
Before save
After save
Agileware Ref: CIVICRM-2246
Edited by justinfreeman (Agileware)