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 » Images » Image_Graph » Bug #7572

addPoint function in Image_Graph_Dataset_Sequential doesn't use parameter

Details

Submitted2006-05-07 18:32 UTC
Fromerik at myemma dot com
Assignednosey
StatusClosed
PackageImage_Graph
PHP Version4.3.10
Roadmaps(Not assigned)

Comments

[2006-05-07 18:32 UTC] erik at myemma dot com

Description:
------------
The function Image_Graph_Dataset::addPoint does not use its ID parameter when it calls the parent class function:

function addPoint($y, $ID = false)
{
parent::addPoint($this->count(), $y);
}

should be:

function addPoint($y, $ID = false)
{
parent::addPoint($this->count(), $y, $ID);
}