Commit 444b64c6 authored by Dries's avatar Dries
Browse files

... and the winner is ... (finally got it to work)

parent 535e936e
...@@ -171,6 +171,9 @@ function account_track_comments() { ...@@ -171,6 +171,9 @@ function account_track_comments() {
case "view": case "view":
showUser($name); showUser($name);
break; break;
case "info":
showUser($user->userid);
break;
case "discussion": case "discussion":
$theme->header(); $theme->header();
$theme->box("Track your comments", account_track_comments()); $theme->box("Track your comments", account_track_comments());
...@@ -326,8 +329,8 @@ function account_track_comments() { ...@@ -326,8 +329,8 @@ function account_track_comments() {
$data[signature] = $edit[signature]; $data[signature] = $edit[signature];
dbsave("users", $data, $user->id); dbsave("users", $data, $user->id);
user_rehash(); user_rehash();
header("Location: account.php");
} }
header("Location: account.php?op=info");
break; break;
default: default:
showUser($user->userid); showUser($user->userid);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment