зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
8ad8b7a1fb
Коммит
2bf15201c0
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче