summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-04-02 22:35:00 +0200
committerbbaetz%acm.org <>2003-04-02 22:35:00 +0200
commitb259c4b4252cde8e7926690f6ba419d2ee7c59fc (patch)
treeae51804f9db83c0b1a49f79b9e0a1848cdd5e7c7 /userprefs.cgi
parent747eb2ddd7febfa0e33ccf3797bf48db0defafcc (diff)
downloadbugzilla-b259c4b4252cde8e7926690f6ba419d2ee7c59fc.tar.gz
bugzilla-b259c4b4252cde8e7926690f6ba419d2ee7c59fc.tar.xz
Bug 199813 - Make all users of ThrowUserError pass $vars in explicitly.
r=gerv a=justdave
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 156c6a2dd..fa340f50f 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -385,7 +385,8 @@ SWITCH: for ($current_tab_name) {
DoPermissions();
last SWITCH;
};
- ThrowUserError("current_tab_name");
+ ThrowUserError("unknown_tab",
+ { current_tab_name => $current_tab_name });
}
# Generate and return the UI (HTML page) from the appropriate template.