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 » HTML » HTML_Table_Matrix » Bug #3381

Matrix.php generates Notices

Details

Submitted2005-02-04 20:59 UTC
Fromcmoehrke at netviser dot de
Assignedieure
StatusClosed
PackageHTML_Table_Matrix
PHP Version5.0.3
OSlinux
Roadmaps(Not assigned)

Comments

[2005-02-04 20:59 UTC] cmoehrke at netviser dot de

Description:
------------
As $index is not initialized before usage Matrix.php generates Notices in Lines 241 and 243.

Fix:
====
Add
$index=0;
before Line 239

Reproduce code:
---------------
Use the Example and use error_reporting(E_ALL)

Expected result:
----------------
.

Actual result:
--------------
.