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 #2684

Source typo breaking data selectors.

Details

Submitted2004-11-04 01:37 UTC
Fromtesla at och dot nu
StatusClosed
PackageImage_Graph
PHP Version4.3.9
OSSlackware GNU/Linux
Roadmaps(Not assigned)

Comments

[2004-11-04 01:37 UTC] tesla at och dot nu

Description:
------------

@line 290 in Plot.php there is a missing "_" before
the call to select. This breaks the data selectors
which define _select() (and not select()).

Reproduce code:
---------------
This patch ought to fix the problem. It should need no
sample since it is so trivial.

290c290
< if ((!is_object($this->_dataSelector)) or ($this->_dataSelector->select($point))) {
---
> if ((!is_object($this->_dataSelector)) or ($this->_dataSelector->_select($point))) {