mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
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
This commit is contained in:
parent
35d379d8bc
commit
ec24b8c7e3
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user