From: terry%netscape.com <> Date: Wed, 27 Jan 1999 11:00:31 +0000 (+0000) Subject: If the version isn't valid, try "other" before giving up. X-Git-Tag: bugzilla-2.2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcea8e723cd1b9dc5478c2dc9466f671d5630d5a;p=thirdparty%2Fbugzilla.git If the version isn't valid, try "other" before giving up. --- diff --git a/backdoor.cgi b/backdoor.cgi index c556c7697a..5cb6fa73f4 100755 --- a/backdoor.cgi +++ b/backdoor.cgi @@ -97,7 +97,10 @@ if (lsearch($::components{$prod}, $comp) < 0) { Punt("component", $comp); } if (lsearch($::versions{$prod}, $version) < 0) { - Punt("version", $version); + $version = "other"; + if (lsearch($::versions{$prod}, $version) < 0) { + Punt("version", $version); + } }