summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2000-08-31 07:49:17 +0200
committercyeh%bluemartini.com <>2000-08-31 07:49:17 +0200
commitb1715ca363b70fa181a02d40d0e80175ec9ec7f3 (patch)
tree473e135f8e836d4e26c739663448a423ca08c710 /query.cgi
parenta9a18a9298d57eefe573d78efa0dd93a126f733c (diff)
downloadbugzilla-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar.gz
bugzilla-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar.xz
fix for 40603: query.cgi shutdownhtml PutHeader
patch submitted by JRobertson@medevolve.com (Jon Robertson)
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index c42c01afe..350ed1cb5 100755
--- a/query.cgi
+++ b/query.cgi
@@ -356,6 +356,11 @@ function selectProduct(f) {
var cnt = 0;
var i;
var j;
+
+ if (!f) {
+ return;
+ }
+
for (i=0 ; i<f.product.length ; i++) {
if (f.product[i].selected) {
cnt++;