summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 977dda7ee..2205dd61a 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -323,6 +323,9 @@ sub SaveFooter {
}
SendSQL("UPDATE profiles SET mybugslink = " .
SqlQuote($::FORM{'mybugslink'}) . " WHERE userid = $userid");
+
+ # Regenerate cached info about queries in footer.
+ $vars->{'user'} = GetUserInfo($::userid);
}