summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-16 07:57:10 +0200
committergerv%gerv.net <>2002-08-16 07:57:10 +0200
commitde177c6bdf5d413b4fdb860970e422fadc943669 (patch)
tree3325e6186bf8351231418817d5ec3fe8e7ca6c7b /globals.pl
parent24ad858514896ad470e73abe0fa6e97a813efa4e (diff)
downloadbugzilla-de177c6bdf5d413b4fdb860970e422fadc943669.tar.gz
bugzilla-de177c6bdf5d413b4fdb860970e422fadc943669.tar.xz
Bug 162068 - Fix callers of ThrowUserError to use messages.html.tmpl. Patch by gerv; r=bbaetz.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/globals.pl b/globals.pl
index 3e119644b..6376b60f4 100644
--- a/globals.pl
+++ b/globals.pl
@@ -946,10 +946,8 @@ sub DBNameToIdAndCheck {
return $result;
}
- $name = html_quote($name);
- ThrowUserError("The name <tt>$name</tt> is not a valid username.
- Either you misspelled it, or the person has not
- registered for a Bugzilla account.");
+ $::vars->{'name'} = $name;
+ ThrowUserError("invalid_username");
}
sub get_product_id {