From 623c9f93578cc6c160829455e34ec9fd12af444c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Wed, 3 Oct 2012 19:40:17 +0200 Subject: [PATCH] Bug 757935: Bugs with resolution MOVED cannot be edited r=glob a=LpSolit --- extensions/OldBugMove/Extension.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/OldBugMove/Extension.pm b/extensions/OldBugMove/Extension.pm index b12d36a9aa..d1b9537483 100644 --- a/extensions/OldBugMove/Extension.pm +++ b/extensions/OldBugMove/Extension.pm @@ -132,7 +132,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'); -- 2.47.2