Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz.

git-svn-id: svn://10.0.0.236/trunk@129434 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2002-09-12 22:51:50 +00:00
parent 7063ff5e5a
commit ee2413046e
9 changed files with 60 additions and 12 deletions

View File

@@ -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.