From b1392fb1438dc48462eb74a4f4a06a946d6fe540 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 Apr 2005 21:26:18 +0000 Subject: - Patch #20396 by Junyor: fixed broken watchdog message in user module. --- modules/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user.module') 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 { -- cgit v1.2.3