From: lpsolit%gmail.com <> Date: Fri, 2 May 2008 12:36:27 +0000 (+0000) Subject: Bug 431730: Bugs with resolution MOVED cannot be edited anymore - Patch by FrédÃ... X-Git-Tag: bugzilla-3.1.4~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0ff879d4f771a39e4c25485c1dc6b83be484244;p=thirdparty%2Fbugzilla.git Bug 431730: Bugs with resolution MOVED cannot be edited anymore - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 0087b3b856..736afbcda9 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1853,11 +1853,11 @@ sub set_resolution { $self->set('resolution', $value); my $new_res = $self->resolution; - # MOVED has a special meaning and can only be used when - # really moving bugs to another installation. - ThrowCodeError('no_manual_moved') if ($new_res eq 'MOVED' && !$params->{moving}); - if ($new_res ne $old_res) { + # MOVED has a special meaning and can only be used when + # really moving bugs to another installation. + ThrowCodeError('no_manual_moved') if ($new_res eq 'MOVED' && !$params->{moving}); + # Clear the dup_id if we're leaving the dup resolution. if ($old_res eq 'DUPLICATE') { $self->_clear_dup_id();