From: Frédéric Buclin Date: Mon, 25 Apr 2011 19:03:14 +0000 (+0200) Subject: Bug 562329: importxml.pl shouldn't set the resolution to INVALID when a closed bug... X-Git-Tag: bugzilla-4.0.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f842670c73f4b0346461d485140e6dd3160166b5;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 350bf80c04..c9f479edc4 100755 --- a/importxml.pl +++ b/importxml.pl @@ -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";