projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc86e4e
)
Fixes email logging.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 21 Mar 2011 12:29:32 +0000
(13:29 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 21 Mar 2011 12:29:32 +0000
(13:29 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/platal.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/platal.php
b/modules/platal.php
index
d3d3cd4
..
1fa6352
100644
(file)
--- a/
modules/platal.php
+++ b/
modules/platal.php
@@
-344,8
+344,7
@@
Email envoyé à ".Env::v('login') . (Post::has('email') ? "
Adresse de secours : " . Post::v('email') : ""));
$mymail->send();
- // on cree un objet logger et on log l'evenement
- S::logger($user->id())->log('recovery', $mails);
+ S::logger($user->id())->log('recovery', is_null($to) ? $inactives_to . ', ' . $user->bestEmail() : $to);
}
function handler_tmpPWD($page, $certif = null)