From 618851e70c753221a79942976523493b6c52fc71 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 13 Sep 2002 05:51:42 +0000 Subject: Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz. --- userprefs.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'userprefs.cgi') 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 " . html_quote($current_tab_name) - . ""); + ThrowUserError("current_tab_name"); } # Generate and return the UI (HTML page) from the appropriate template. -- cgit v1.2.3-24-g4f1b