Commit ef677446 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 252137: tabular reports shouldn't be broken if a row/col/tbl…

Patch for bug 252137: tabular reports shouldn't be broken if a row/col/tbl header begins with an underscore; patch by Rob Siklos <rsiklos@adexa.com>; r=gerv, a=justdave.
parent 8100ea22
......@@ -174,6 +174,12 @@ while (MoreSQLData()) {
$col = "" if ($col eq $columns{''});
$tbl = "" if ($tbl eq $columns{''});
# account for the fact that names may start with '_' or '.'. Change this
# so the template doesn't hide hash elements with those keys
$row =~ s/^([._])/ $1/;
$col =~ s/^([._])/ $1/;
$tbl =~ s/^([._])/ $1/;
$data{$tbl}{$col}{$row}++;
$names{"col"}{$col}++;
$names{"row"}{$row}++;
......
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