summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-04-25 21:01:58 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-04-25 21:01:58 +0200
commit68febeadb0aa5b6a38455348d315da85cd243150 (patch)
treee1ad2035e7b06d18eddf442994df71fc15dc7382
parent641aaea98f5e0835109369ede7c0621527f8200a (diff)
downloadbugzilla-68febeadb0aa5b6a38455348d315da85cd243150.tar.gz
bugzilla-68febeadb0aa5b6a38455348d315da85cd243150.tar.xz
Bug 562329: importxml.pl shouldn't set the resolution to INVALID when a closed bug has none
r/a=LpSolit
-rwxr-xr-ximportxml.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 174f7bdad..3359f349f 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -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";