Commit a248160a authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 302202: "Odd number of elements in anonymous hash" error when loading…

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
parent 4645632a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment