From: Stéphane Jacob Date: Mon, 12 Sep 2011 10:53:07 +0000 (+0200) Subject: Prevents possible errors. X-Git-Tag: xorg/1.1.4~180 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1bbba0f618df014c901ee52f926b00799bca633d;hp=9cda19066a55330b3805ee2a780e18d9161fe164;p=platal.git Prevents possible errors. Signed-off-by: Stéphane Jacob --- 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();