diff options
author | lpsolit%gmail.com <> | 2005-10-24 06:47:50 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-24 06:47:50 +0200 |
commit | 46c89016520cf272223cba52e704388fa94b4392 (patch) | |
tree | 7fabf7e470cb3609bd6bbdd40a1c23463a10e5e0 /post_bug.cgi | |
parent | d0042bb7c9340ef4dd80b3abe3b2f45ed4bf862b (diff) | |
download | bugzilla-46c89016520cf272223cba52e704388fa94b4392.tar.gz bugzilla-46c89016520cf272223cba52e704388fa94b4392.tar.xz |
Bug 312307: Misused Throw*Error tags in code and templates - Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua> r=LpSolit a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index 18faa5090..0965728b7 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -328,7 +328,7 @@ foreach my $b (grep(/^bit-\d*$/, $cgi->param())) { if ($cgi->param($b)) { my $v = substr($b, 4); detaint_natural($v) - || ThrowCodeError("group_id_invalid"); + || ThrowUserError("invalid_group_ID"); if (!GroupIsActive($v)) { # Prevent the user from adding the bug to an inactive group. # Should only happen if there is a bug in Bugzilla or the user |