]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 562329: importxml.pl shouldn't set the resolution to INVALID when a closed bug...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 25 Apr 2011 19:01:58 +0000 (21:01 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 25 Apr 2011 19:01:58 +0000 (21:01 +0200)
r/a=LpSolit

importxml.pl

index 174f7bdad05a84cb8e3dad345de299cf07adb8ea..3359f349fe8521bbb8db76ffd75f8346d9db66e2 100755 (executable)
@@ -958,7 +958,7 @@ sub process_bug {
                        $err .= "UNCONFIRMED\n";
                    }
                }
-               if(!$valid_res){
+               elsif (!$valid_res) {
                    $err .= "Unknown resolution \"$resolution\".\n";
                    $err .= "   Setting resolution to INVALID\n";
                    $resolution = "INVALID";