We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac1818c + e218c42 commit ae8a935Copy full SHA for ae8a935
lib/helpers/mail/mail.js
@@ -622,8 +622,8 @@ function Personalization() {
622
if (this.substitutions === undefined) {
623
this.substitutions = {};
624
}
625
- this.substitutions[Object.keys(substitution)[0]] =
626
- substitution[Object.keys(substitution)[0]];
+ var currentKey = Object.keys(substitution)[0];
+ this.substitutions[currentKey] = substitution[currentKey].toString();
627
};
628
629
this.getSubstitutions = function() {
0 commit comments