diff --git a/actions/avatar.php b/actions/avatar.php index 023a8414a1..7eed48ddb2 100644 --- a/actions/avatar.php +++ b/actions/avatar.php @@ -62,10 +62,7 @@ class AvatarAction extends SettingsAction { common_element('input', array('name' => 'avatarfile', 'type' => 'file', 'id' => 'avatarfile')); - common_element('input', array('name' => 'submit', - 'type' => 'submit', - 'id' => 'submit', - 'value' =>_t('Upload'))); + common_submit('submit', _t('Upload')); common_element_end('form'); common_show_footer(); }