From 16cc53146cad815ee5d76a12f8fe739002a21587 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sun, 5 Dec 2010 17:15:24 +0000 Subject: [PATCH] replace correct line-break when sending forgotten password, fixes #507 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index afa59e18..d9022852 100644 --- a/index.php +++ b/index.php @@ -336,7 +336,7 @@ if($action == 'forgotpwd') try { $mail->Subject = $mail_subject; $mail->AltBody = $mail_body; - $mail->MsgHTML(str_replace("\\n", "
", $mail_body)); + $mail->MsgHTML(str_replace("\n", "
", $mail_body)); $mail->AddAddress($user['email'], $user['firstname'] . ' ' . $user['name']); $mail->Send(); } catch(phpmailerException $e) {