PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Table » Bug #8170

updateRowAttributes & one column

Details

Submitted2006-07-09 05:15 UTC
Fromcoder at darkk dot net dot ru
Assignedwiesemann
StatusClosed
PackageHTML_Table
PHP Version4.4.0
OSLinux Slackware 10.2
Roadmaps(Not assigned)

Comments

[2006-07-09 05:15 UTC] coder at darkk dot net dot ru

Description:
------------
I create table with single column and apply styles to some rows.
Now I have table with single column.
After I run toHtml method I have table with two columns.
In my opinion toHtml should not modify maximal number of columns.

I've seen bug like this (#4656) but it was closed year ago and seems this bug occures in latest release too.
I've not tried CVS version yet.

Test script:
---------------
Script is at:
http://darkk.net.ru/pear/test.php

Code is viewable at:
http://darkk.net.ru/pear/test.php.txt

Expected result:
----------------
I expect to see table with single column :)

[2006-07-09 13:15 UTC] coder at darkk dot net dot ru

You're right, updateAttributes shoots.

[2006-07-09 13:42 UTC] coder at darkk dot net dot ru

Thank you for quick fix.