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:
lpsolit%gmail.com 2005-08-21 20:43:36 +00:00
Родитель 8ad8b7a1fb
Коммит 2bf15201c0
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);
}