summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-12 21:26:18 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-12 21:26:18 +0000
commitb1392fb1438dc48462eb74a4f4a06a946d6fe540 (patch)
tree3788b1d3d9c64ead4e7a74c5d80fc551c4544257 /modules
parent4a66d329b9e25207ae716657a09f5c35620ffb35 (diff)
downloadbrdo-b1392fb1438dc48462eb74a4f4a06a946d6fe540.tar.gz
brdo-b1392fb1438dc48462eb74a4f4a06a946d6fe540.tar.bz2
- Patch #20396 by Junyor: fixed broken watchdog message in user module.
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index eea831ee0..be0490a0f 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -935,7 +935,7 @@ function user_pass() {
$mail_success = user_mail($account->mail, $subject, $body, $headers);
if ($mail_success) {
- watchdog('user', t('Password mailed to %name at %email.', array('%name' => theme('placeholder', $account->mail))));
+ watchdog('user', t('Password mailed to %name at %email.', array('%name' => theme('placeholder', $account->name), '%email' => theme('placeholder', $account->mail))));
drupal_set_message(t('Your password and further instructions have been sent to your e-mail address.'));
}
else {
diff --git a/modules/user/user.module b/modules/user/user.module
index eea831ee0..be0490a0f 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -935,7 +935,7 @@ function user_pass() {
$mail_success = user_mail($account->mail, $subject, $body, $headers);
if ($mail_success) {
- watchdog('user', t('Password mailed to %name at %email.', array('%name' => theme('placeholder', $account->mail))));
+ watchdog('user', t('Password mailed to %name at %email.', array('%name' => theme('placeholder', $account->name), '%email' => theme('placeholder', $account->mail))));
drupal_set_message(t('Your password and further instructions have been sent to your e-mail address.'));
}
else {