Fix output of email settings for confirmed address

This commit is contained in:
Evan Prodromou 2009-01-18 18:32:33 +00:00
parent b6b7ae1a97
commit 2c4db393f5

View File

@ -95,7 +95,7 @@ class EmailsettingsAction extends AccountSettingsAction
$this->hidden('token', common_session_token());
if ($user->email) {
$this->element('p', array('id' => 'email_confirmed', $user->email));
$this->element('p', array('id' => 'email_confirmed'), $user->email);
$this->element('p', array('class' => 'form_note'), _('Current confirmed email address.'));
$this->hidden('email', $user->email);
$this->submit('remove', _('Remove'));