summaryrefslogtreecommitdiff
path: root/actions/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/password.php')
-rw-r--r--actions/password.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/actions/password.php b/actions/password.php
index 4174b6d01..6eba136ce 100644
--- a/actions/password.php
+++ b/actions/password.php
@@ -34,10 +34,7 @@ class PasswordAction extends SettingsAction {
common_password('oldpassword', _t('Old password'));
common_password('newpassword', _t('New password'));
common_password('confirm', _t('Confirm'));
- common_element('input', array('name' => 'submit',
- 'type' => 'submit',
- 'id' => 'submit',
- 'value' => _t('Change')));
+ common_submit('submit', _t('Change'));
common_element_end('form');
common_show_footer();
}