PEAR is archived and read-only

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

Home » Console » Console_Table » Bug #5851

Notice: Undefined offset: 0 in Table.php on line 378

Details

Submitted2005-11-02 15:03 UTC
Fromnicolas dot terray at gmail dot com
Assignedyunosh
StatusClosed
PackageConsole_Table
PHP Version4.3.11
OSFedora Core 3
Roadmaps(Not assigned)

Comments

[2005-11-02 15:03 UTC] nicolas dot terray at gmail dot com

Description:
------------
* The version number of the PEAR package or files you are using.
Console_Table-1.0.2

If you have no rows, a notice will appear on screen :(

Test script:
---------------
$table =& new Console_Table();
$table->setHeaders(array('Table', 'Msg_type', 'Msg_text'));
echo $table->getTable();

Actual result:
--------------
Notice: Undefined offset: 0 in /home/.../Table.php on line 378