summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/template/account_edit_form.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 9b5b1d8b..b1cb749d 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -1,4 +1,8 @@
+<?php if ($A == "UpdateAccount"): ?>
<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post">
+<?php else: ?>
+<form action="<?php echo get_uri('/register/'); ?>" method="post">
+<?php endif; ?>
<fieldset>
<input type="hidden" name="Action" value="<?php echo $A ?>" />
<?php if ($UID): ?>