summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-30 21:00:53 +0100
committerlpsolit%gmail.com <>2005-11-30 21:00:53 +0100
commitd3395fe6bb0c74f4fe6e69387cba62ae633b7e27 (patch)
tree852fb0cb39326b9ff4e3ef2f0cc4dd2d5ebb5b56 /template
parent36246089ead57652b79c16d204164aec0a475a3c (diff)
downloadbugzilla-d3395fe6bb0c74f4fe6e69387cba62ae633b7e27.tar.gz
bugzilla-d3395fe6bb0c74f4fe6e69387cba62ae633b7e27.tar.xz
Bug 314039: editusers.cgi edits user 0 if you don't pass a userid - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/code-error.html.tmpl13
1 files changed, 10 insertions, 3 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index 0fe946cb5..141930b07 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -227,9 +227,16 @@
The keyword ID <em>[% id FILTER html %]</em> couldn't be
found.
- [% ELSIF error == "invalid_user_id" %]
- [% title = "Invalid User ID" %]
- There is no user account with ID <em>[% userid FILTER html %]</em>.
+ [% ELSIF error == "invalid_user" %]
+ [% title = "Invalid User" %]
+ There is no user account
+ [% IF user_id %]
+ with ID <em>[% user_id FILTER html %]</em>.
+ [% ELSIF user_login %]
+ with login name <em>[% user_login FILTER html %]</em>.
+ [% ELSE %]
+ given.
+ [% END %]
[% ELSIF error == "missing_bug_id" %]
No [% terms.bug %] ID was given.