ID: 39893 Updated by: [EMAIL PROTECTED] Reported By: dvboom at hotmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: windowsxp PHP Version: 4.4.4 New Comment:
Please report PEAR problems using PEAR bug tracker. http://pear.php.net/package/Image_Graph Previous Comments: ------------------------------------------------------------------------ [2006-12-19 22:11:23] dvboom at hotmail dot com Description: ------------ the function setRangeMarkerFillStyle was set to return a reference object. This function does not return anything. OLD: function &setRangeMarkerFillStyle(&$rangeMarkerFillStyle ) NEW: function setRangeMarkerFillStyle(&$rangeMarkerFillStyle) I removed the & from the function name - and the error was resolved. Reproduce code: --------------- Just create a graph and call setRangeMarkerFillStyle See: http://pear.veggerby.dk/samples/code/id/plot_odo/ Actual result: -------------- Notice: Only variable references should be returned by reference in D:\PHP\PEAR\Image\Graph\Plot\Odo.php on line ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39893&edit=1
