From 1bbba0f618df014c901ee52f926b00799bca633d Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 12 Sep 2011 12:53:07 +0200 Subject: [PATCH 1/1] Prevents possible errors. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/platal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/platal.php b/modules/platal.php index c9fd3d9..7d4e4ca 100644 --- a/modules/platal.php +++ b/modules/platal.php @@ -375,7 +375,7 @@ Adresse de secours : ' . $to)); $user->id(), $hash); $mymail = new PlMailer('platal/password_recovery_xnet.mail.tpl'); - $mymail->addTo($user); + $mymail->setTo($user); $mymail->assign('hash', $hash); $mymail->assign('email', Post::t('login')); $mymail->send(); -- 2.1.4