summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-05-14 15:14:54 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-05-14 15:14:54 +0200
commit1f1d6a5bcd5b77e8fbb8d827a614cdc1e3323c4d (patch)
treee81070c857145057099933ebf4b1038186ef90a1 /Bugzilla
parentc42c5a57913833c61616aae4ccaaa4f000c1d811 (diff)
downloadbugzilla-1f1d6a5bcd5b77e8fbb8d827a614cdc1e3323c4d.tar.gz
bugzilla-1f1d6a5bcd5b77e8fbb8d827a614cdc1e3323c4d.tar.xz
Bug 565881: 'flag_status_invalid' and 'request_queue_group_invalid' should be user errors, not code errors
a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Flag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index ab8961967..3dccd7a02 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -748,7 +748,7 @@ sub _check_status {
if (!grep($status eq $_ , qw(X + - ?))
|| ($status eq '?' && $self->status ne '?' && !$self->type->is_requestable))
{
- ThrowCodeError('flag_status_invalid', { id => $self->id,
+ ThrowUserError('flag_status_invalid', { id => $self->id,
status => $status });
}
return $status;