summaryrefslogtreecommitdiff
path: root/actions/avatar.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/avatar.php')
-rw-r--r--actions/avatar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/avatar.php b/actions/avatar.php
index 2244e7c78..851ef23f4 100644
--- a/actions/avatar.php
+++ b/actions/avatar.php
@@ -46,7 +46,7 @@ class AvatarAction extends SettingsAction {
'height' => AVATAR_PROFILE_SIZE));
}
- common_start_element('form', array('enctype' => 'multipart/form-data',
+ common_element_start('form', array('enctype' => 'multipart/form-data',
'method' => 'POST',
'id' => 'avatar',
'action' =>
@@ -62,6 +62,7 @@ class AvatarAction extends SettingsAction {
'type' => 'submit',
'id' => 'submit'),
_t('Upload'));
+ common_element_end('form');
}
function handle_post() {