cvs: pear /Image_Graph/Graph/DataPreprocessor Function.php

From: Date: Fri, 11 Nov 2005 17:53:50 +0000
Subject: cvs: pear /Image_Graph/Graph/DataPreprocessor Function.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36212@lists.php.net to get a copy of this message
nosey Fri Nov 11 12:53:50 2005 EDT Modified files: /pear/Image_Graph/Graph/DataPreprocessor Function.php Log: Fixed a bug with Image_Graph_DataPreprocessor_Function not working, when callback function is an object method http://cvs.php.net/diff.php/pear/Image_Graph/Graph/DataPreprocessor/Function.php?r1=1.6&r2=1.7&ty=u Index: pear/Image_Graph/Graph/DataPreprocessor/Function.php diff -u pear/Image_Graph/Graph/DataPreprocessor/Function.php:1.6 pear/Image_Graph/Graph/DataPreprocessor/Function.php:1.7 --- pear/Image_Graph/Graph/DataPreprocessor/Function.php:1.6 Wed Aug 24 16:35:59 2005 +++ pear/Image_Graph/Graph/DataPreprocessor/Function.php Fri Nov 11 12:53:44 2005 @@ -24,7 +24,7 @@ * @author Jesper Veggerby <pear.nosey@veggerby.dk> * @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Function.php,v 1.6 2005/08/24 20:35:59 nosey Exp $ + * @version CVS: $Id: Function.php,v 1.7 2005/11/11 17:53:44 nosey Exp $ * @link http://pear.php.net/package/Image_Graph */ @@ -84,7 +84,7 @@ function _process($value) { $function = $this->_dataFunction; - return $function ($value); + return call_user_func($function, $value); } }

« previous php.pear.cvs (#36212) next »