diff options
author | cyeh%bluemartini.com <> | 2000-08-31 05:49:17 +0000 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2000-08-31 05:49:17 +0000 |
commit | b1715ca363b70fa181a02d40d0e80175ec9ec7f3 (patch) | |
tree | 473e135f8e836d4e26c739663448a423ca08c710 /query.cgi | |
parent | a9a18a9298d57eefe573d78efa0dd93a126f733c (diff) | |
download | bugs-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar bugs-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar.gz bugs-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar.bz2 bugs-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.tar.xz bugs-b1715ca363b70fa181a02d40d0e80175ec9ec7f3.zip |
fix for 40603: query.cgi shutdownhtml PutHeader
patch submitted by JRobertson@medevolve.com (Jon Robertson)
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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++; |