summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/avatar.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/actions/avatar.php b/actions/avatar.php
index 023a8414a..7eed48ddb 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();
}