summaryrefslogtreecommitdiff
path: root/modules/contact/contact.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contact/contact.pages.inc')
-rw-r--r--modules/contact/contact.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc
index 895fa4e3a..a959146e6 100644
--- a/modules/contact/contact.pages.inc
+++ b/modules/contact/contact.pages.inc
@@ -177,11 +177,11 @@ function contact_personal_form($form, &$form_state, $recipient) {
$form['recipient'] = array('#type' => 'value', '#value' => $recipient);
$form['from'] = array('#type' => 'item',
'#title' => t('From'),
- '#markup' => theme('username', $user) . ' <' . check_plain($user->mail) . '>',
+ '#markup' => theme('username', array('account' => $user)) . ' <' . check_plain($user->mail) . '>',
);
$form['to'] = array('#type' => 'item',
'#title' => t('To'),
- '#markup' => theme('username', $recipient),
+ '#markup' => theme('username', array('account' => $recipient)),
);
$form['subject'] = array('#type' => 'textfield',
'#title' => t('Subject'),