PEAR is archived and read-only

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

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);
}