cvs: pear /Image_Graph/Graph Common.php

From: Date: Wed, 22 Mar 2006 22:03:43 +0000
Subject: cvs: pear /Image_Graph/Graph Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39254@lists.php.net to get a copy of this message
nosey Wed Mar 22 22:03:43 2006 UTC Modified files: /pear/Image_Graph/Graph Common.php Log: Fixed a PHP5 Notice (Only variable references should be returned by reference) http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/Graph/Common.php?r1=1.16&r2=1.17&diff_format=u Index: pear/Image_Graph/Graph/Common.php diff -u pear/Image_Graph/Graph/Common.php:1.16 pear/Image_Graph/Graph/Common.php:1.17 --- pear/Image_Graph/Graph/Common.php:1.16 Tue Feb 28 22:48:07 2006 +++ pear/Image_Graph/Graph/Common.php Wed Mar 22 22:03:42 2006 @@ -23,7 +23,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: Common.php,v 1.16 2006/02/28 22:48:07 nosey Exp $ + * @version CVS: $Id: Common.php,v 1.17 2006/03/22 22:03:42 nosey Exp $ * @link http://pear.php.net/package/Image_Graph */ @@ -124,7 +124,8 @@ $keys = array_keys($this->_elements); foreach ($keys as $key) { if (is_object($this->_elements[$key])) { - $this->_elements[$key]->_setParent($this); + $this_ =& $this; + $this->_elements[$key]->_setParent($this_); $result =& $this->_elements[$key]->_reset(); if (PEAR::isError($result)) { return $result;

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