PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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