]> 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:03:14 +0000 (21:03 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 25 Apr 2011 19:03:14 +0000 (21:03 +0200)
r/a=LpSolit

importxml.pl

index 350bf80c04957a634b486b367b7f9a6c45d25844..c9f479edc48885d4940cf59d528ad916a24d7768 100755 (executable)
@@ -980,7 +980,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";