summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/index.php2
-rw-r--r--web/template/account_edit_form.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 8013362b..0e368834 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -55,6 +55,8 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
if (isset($tokens[3])) {
if ($tokens[3] == 'edit') {
$_REQUEST['Action'] = "DisplayAccount";
+ } elseif ($tokens[3] == 'update') {
+ $_REQUEST['Action'] = "UpdateAccount";
} else {
$_REQUEST['Action'] = "AccountInfo";
}
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 7da8e337..9b5b1d8b 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -1,4 +1,4 @@
-<form action="<?php echo get_uri('/account/'); ?>" method="post">
+<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post">
<fieldset>
<input type="hidden" name="Action" value="<?php echo $A ?>" />
<?php if ($UID): ?>