[aur-dev] [PATCH] acctfuncs.inc.php: Fix typo
Lukas Fleischer
archlinux at cryptocrack.de
Thu May 22 15:09:26 EDT 2014
Replace a misplaced semicolon with the concatenation operator. This
makes the AUR insert proper Reply-to and From headers again when sending
password reset emails on registration.
Fixes a regression introduced in 94a4f59 (Set Content-type header when
sending UTF-8 mails, 2014-02-10).
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
web/lib/acctfuncs.inc.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 5b907dc..962ebb4 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -655,7 +655,7 @@ function send_resetkey($email, $subject, $body) {
"{$AUR_LOCATION}/" . get_uri('/passreset/') . "?".
"resetkey={$resetkey}";
$headers = "MIME-Version: 1.0\r\n" .
- "Content-type: text/plain; charset=UTF-8\r\n";
+ "Content-type: text/plain; charset=UTF-8\r\n" .
"Reply-to: noreply at aur.archlinux.org\r\n" .
"From: notify at aur.achlinux.org\r\n" .
"X-Mailer: PHP\r\n" .
--
1.9.3
More information about the aur-dev
mailing list