From:             [EMAIL PROTECTED]
Operating system: All I guess
PHP version:      4.0CVS-2001-09-05
PHP Bug Type:     Unknown/Other Function
Bug description:  PEAR HTML/Common.php Warning: Undefined offset

I hope this is the right place for this. Do let me know if it isnt.

Looks like _parseAttributes has a minor warning being generated when 
error_reporting (E_ALL);
is on and
$headerStyle = "bgcolor=blue nowrap";
and then
$table -> addRow($contents=$header_row, $headerStyle, 'TH');

whilst using HTML/Table.php from PEAR.

This diff corrects the problem, but I'm sure the author would produce a
better solution:

>                     if (! isset ($regs[7][$valCounter])) {
>                         $regs[7][$valCounter] = 0;
>                     }


Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to