Commit a0ff879d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 431730: Bugs with resolution MOVED cannot be edited anymore - Patch by…

Bug 431730: Bugs with resolution MOVED cannot be edited anymore - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 35e40627
......@@ -1853,11 +1853,11 @@ sub set_resolution {
$self->set('resolution', $value);
my $new_res = $self->resolution;
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});
if ($new_res ne $old_res) {
# Clear the dup_id if we're leaving the dup resolution.
if ($old_res eq 'DUPLICATE') {
$self->_clear_dup_id();
......
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