diff options
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 3 |
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. |