diff options
author | lpsolit%gmail.com <> | 2005-11-30 21:00:53 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-30 21:00:53 +0100 |
commit | d3395fe6bb0c74f4fe6e69387cba62ae633b7e27 (patch) | |
tree | 852fb0cb39326b9ff4e3ef2f0cc4dd2d5ebb5b56 /template | |
parent | 36246089ead57652b79c16d204164aec0a475a3c (diff) | |
download | bugzilla-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.tmpl | 13 |
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. |