]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
If the version isn't valid, try "other" before giving up.
authorterry%netscape.com <>
Wed, 27 Jan 1999 11:00:31 +0000 (11:00 +0000)
committerterry%netscape.com <>
Wed, 27 Jan 1999 11:00:31 +0000 (11:00 +0000)
backdoor.cgi

index c556c7697a1ca00decd91554800919acafcb67f6..5cb6fa73f445dfd7648228fe00a55def04dd05ce 100755 (executable)
@@ -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);
+    }
 }