diff options
author | lpsolit%gmail.com <> | 2005-08-22 03:43:36 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-22 03:43:36 +0000 |
commit | a248160a4755779f055c57122fe64804098dfc2c (patch) | |
tree | c71828eb2ef2ab8eec6ed1014ea85648b349cedb /query.cgi | |
parent | Bug 304322: The Change-several-bugs-at-once page does not use localised terms... (diff) | |
download | bugzilla-a248160a4755779f055c57122fe64804098dfc2c.tar.gz bugzilla-a248160a4755779f055c57122fe64804098dfc2c.tar.bz2 bugzilla-a248160a4755779f055c57122fe64804098dfc2c.zip |
Bug 302202: "Odd number of elements in anonymous hash" error when loading query.cgi - Patch by Rob Siklos <robzilla@siklos.ca> r=wicked a=justdave
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -384,8 +384,8 @@ for (my $chart = 0; $cgi->param("field$chart-0-0"); $chart++) { my @cols; for (my $col = 0; $cgi->param("field$chart-$row-$col"); $col++) { push(@cols, { field => $cgi->param("field$chart-$row-$col"), - type => $cgi->param("type$chart-$row-$col"), - value => $cgi->param("value$chart-$row-$col") }); + type => $cgi->param("type$chart-$row-$col") || 'noop', + value => $cgi->param("value$chart-$row-$col") || '' }); } push(@rows, \@cols); } |