Commit fa2471c8 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 757935: Bugs with resolution MOVED cannot be edited

r=glob a=LpSolit
parent 6dd576e5
......@@ -118,7 +118,9 @@ sub _check_bug_resolution {
my $original_validator = shift;
my ($invocant, $resolution) = @_;
if ($resolution eq 'MOVED' and !Bugzilla->input_params->{'oldbugmove'}) {
if ($resolution eq 'MOVED' && $invocant->resolution ne 'MOVED'
&& !Bugzilla->input_params->{'oldbugmove'})
{
# MOVED has a special meaning and can only be used when
# really moving bugs to another installation.
ThrowUserError('oldbugmove_no_manual_move');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment