From: Frédéric Buclin Date: Mon, 25 Apr 2011 19:01:58 +0000 (+0200) Subject: Bug 562329: importxml.pl shouldn't set the resolution to INVALID when a closed bug... X-Git-Tag: bugzilla-4.1.2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68febeadb0aa5b6a38455348d315da85cd243150;p=thirdparty%2Fbugzilla.git Bug 562329: importxml.pl shouldn't set the resolution to INVALID when a closed bug has none r/a=LpSolit --- diff --git a/importxml.pl b/importxml.pl index 174f7bdad0..3359f349fe 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";