summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-10-04 10:36:47 +0000
committerDries Buytaert <dries@buytaert.net>2000-10-04 10:36:47 +0000
commit444b64c6be903b6b7ecfc744878579d6ec3cd54f (patch)
tree055ecc6fe64ec3af86c47e19886310123423b8c3
parent535e936e6a3ced033cff1019df71fbfa74479eb1 (diff)
downloadbrdo-444b64c6be903b6b7ecfc744878579d6ec3cd54f.tar.gz
brdo-444b64c6be903b6b7ecfc744878579d6ec3cd54f.tar.bz2
... and the winner is ... (finally got it to work)
-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);