diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 20:09:12 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 20:09:12 +0000 |
commit | 93688e77b1939c62d15a732be97b76dedc83ffa8 (patch) | |
tree | e3db49bc2d6f3c6385e2dbe38f16a0baf7ed65b4 /modules/contact | |
parent | dac6a2be3df7c4cd43cf454fb708a80c83c85993 (diff) | |
download | brdo-93688e77b1939c62d15a732be97b76dedc83ffa8.tar.gz brdo-93688e77b1939c62d15a732be97b76dedc83ffa8.tar.bz2 |
#229660 by Dave Reid: Use theme_username() in personal contact form.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index c1fe3acca..2984b0d53 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -174,11 +174,11 @@ function contact_mail_user(&$form_state, $recipient) { $form['recipient'] = array('#type' => 'value', '#value' => $recipient); $form['from'] = array('#type' => 'item', '#title' => t('From'), - '#markup' => check_plain($user->name) . ' <' . check_plain($user->mail) . '>', + '#markup' => theme('username', $user) . ' <' . check_plain($user->mail) . '>', ); $form['to'] = array('#type' => 'item', '#title' => t('To'), - '#markup' => check_plain($recipient->name), + '#markup' => theme('username', $recipient), ); $form['subject'] = array('#type' => 'textfield', '#title' => t('Subject'), |