summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-13 07:51:42 +0200
committergerv%gerv.net <>2002-09-13 07:51:42 +0200
commit618851e70c753221a79942976523493b6c52fc71 (patch)
tree255ed3466db43e93d5f145f517253125f247fb9a /userprefs.cgi
parentc5d6844efc09646e5233891badb68fd7ce6f8df7 (diff)
downloadbugzilla-618851e70c753221a79942976523493b6c52fc71.tar.gz
bugzilla-618851e70c753221a79942976523493b6c52fc71.tar.xz
Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz.
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 33b377574..808aebf40 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -395,8 +395,7 @@ SWITCH: for ($current_tab_name) {
DoPermissions();
last SWITCH;
};
- ThrowUserError("Unknown tab <code>" . html_quote($current_tab_name)
- . "</code>");
+ ThrowUserError("current_tab_name");
}
# Generate and return the UI (HTML page) from the appropriate template.