Subject: | -override_headers does not work |
Date: | Fri, 02 Oct 2009 13:40:03 +0200 |
To: | bug-HTML-Table-FromDatabase [...] rt.cpan.org. |
From: | Ireneusz Pluta <ipluta [...] wp.pl> |
version: 0.05.
A trivial bug:
To see why and how to make work the option work, simply see the patch:
--- FromDatabase.pm.orig Fri Oct 2 13:26:40 2009
+++ FromDatabase.pm Fri Oct 2 13:27:05 2009
@@ -161,7 +161,7 @@
@heading_names = @$override_headers;
}
- $self->addSectionRow('thead', 0, @columns);
+ $self->addSectionRow('thead', 0, @heading_names);
$self->setSectionRowHead('thead', 0, 1);
# Add all the rows:
A trivial bug:
To see why and how to make work the option work, simply see the patch:
--- FromDatabase.pm.orig Fri Oct 2 13:26:40 2009
+++ FromDatabase.pm Fri Oct 2 13:27:05 2009
@@ -161,7 +161,7 @@
@heading_names = @$override_headers;
}
- $self->addSectionRow('thead', 0, @columns);
+ $self->addSectionRow('thead', 0, @heading_names);
$self->setSectionRowHead('thead', 0, 1);
# Add all the rows: