aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-24 04:47:50 +0000
committerlpsolit%gmail.com <>2005-10-24 04:47:50 +0000
commit46c89016520cf272223cba52e704388fa94b4392 (patch)
tree7fabf7e470cb3609bd6bbdd40a1c23463a10e5e0 /post_bug.cgi
parentd0042bb7c9340ef4dd80b3abe3b2f45ed4bf862b (diff)
downloadbugs-46c89016520cf272223cba52e704388fa94b4392.tar
bugs-46c89016520cf272223cba52e704388fa94b4392.tar.gz
bugs-46c89016520cf272223cba52e704388fa94b4392.tar.bz2
bugs-46c89016520cf272223cba52e704388fa94b4392.tar.xz
bugs-46c89016520cf272223cba52e704388fa94b4392.zip
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-xpost_bug.cgi2
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