summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 21:03:52 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 21:08:47 +0200
commitd7f0b25e51ff966d78ba77a149a4a8c99d081c9d (patch)
tree2def50ab3d80feee795e25becad0b4c3fd2fc20b /web
parentd962d66d638ad8e11cadfa365b1cff8489f45f76 (diff)
downloadaurweb-d7f0b25e51ff966d78ba77a149a4a8c99d081c9d.tar.xz
acctfuncs.inc.php: Fix typo
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@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r--web/lib/acctfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
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@aur.archlinux.org\r\n" .
"From: notify@aur.achlinux.org\r\n" .
"X-Mailer: PHP\r\n" .