summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--account.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/account.php b/account.php
index 79f857f16..c714f1e36 100644
--- a/account.php
+++ b/account.php
@@ -171,6 +171,9 @@ switch ($op) {
case "view":
showUser($name);
break;
+ case "info":
+ showUser($user->userid);
+ break;
case "discussion":
$theme->header();
$theme->box("Track your comments", account_track_comments());
@@ -326,8 +329,8 @@ switch ($op) {
$data[signature] = $edit[signature];
dbsave("users", $data, $user->id);
user_rehash();
- header("Location: account.php");
}
+ header("Location: account.php?op=info");
break;
default:
showUser($user->userid);