From b259c4b4252cde8e7926690f6ba419d2ee7c59fc Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" <> Date: Wed, 2 Apr 2003 20:35:00 +0000 Subject: Bug 199813 - Make all users of ThrowUserError pass $vars in explicitly. r=gerv a=justdave --- userprefs.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'userprefs.cgi') 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. -- cgit v1.2.3-24-g4f1b