From a5bd2183695b7adcf9abf141e92a0ed6b60dee93 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 27 Mar 2007 02:28:12 +0000 Subject: [PATCH] r1523: In passwordreset.xml.tpl, we need to enclose the trackertitle variable in curly braces so it doesn't come out as "Array['trackertitle']" in actual emails --- docs/changes.txt | 1 + templates/email/passwordreset.xml.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index eba7b4c..f5cd907 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -2,6 +2,7 @@ =============================== - Fixed: If Gettext isn't installed, a function-not-found error would be thrown - Fixed: On PHP4 systems, a "call to member non-object" error would be thrown because the Authentication class does not have a PHP4 constructor +- Fixed: In lost password reset emails, the subject would appear as "Array['trackertitle']" because the variable was not enclosed in curly braces 1.2.0 Beta 2 =============================== diff --git a/templates/email/passwordreset.xml.tpl b/templates/email/passwordreset.xml.tpl index 55e4f51..eab2f01 100644 --- a/templates/email/passwordreset.xml.tpl +++ b/templates/email/passwordreset.xml.tpl @@ -1,5 +1,5 @@ - $bugsys->options['trackertitle'] Password Reset + {$bugsys->options['trackertitle']} Password Reset Hi {$user->objdata['displayname']}, You requested this lost password email at the {$bugsys->options['trackertitle']} bug tracker. To reset your password, simply click the link below (or paste it into your browser window exactly) and enter a new password. -- 2.22.5