summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-11-12 18:46:48 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-12 18:46:48 +0100
commit2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461 (patch)
tree0267c67f18e8099384bc7ae15f58a4459ed71f63 /post_bug.cgi
parent34a9d58c4ab24390a21595edc08442651cfbe312 (diff)
downloadbugzilla-2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461.tar.gz
bugzilla-2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461.tar.xz
Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is not triggered by the code itself
r=glob a=LpSolit
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index b38707365..24fa331b4 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -199,8 +199,6 @@ $vars->{'bug'} = $bug;
Bugzilla::Hook::process('post_bug_after_creation', { vars => $vars });
-ThrowCodeError("bug_error", { bug => $bug }) if $bug->error;
-
my $recipients = { changer => $user };
my $bug_sent = Bugzilla::BugMail::Send($id, $recipients);
$bug_sent->{type} = 'created';