cvs: pear /HTML_QuickForm/QuickForm element.php

From: Date: Tue, 23 Jul 2002 10:06:34 +0000
Subject: cvs: pear /HTML_QuickForm/QuickForm element.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5295@lists.php.net to get a copy of this message
mansion Tue Jul 23 06:06:34 2002 EDT Modified files: /pear/HTML_QuickForm/QuickForm element.php Log: There was a problem with references when QuickForm was instanciated in another class causing an indefinite loop when using while(list, each) in the parent class. Index: pear/HTML_QuickForm/QuickForm/element.php diff -u pear/HTML_QuickForm/QuickForm/element.php:1.6 pear/HTML_QuickForm/QuickForm/element.php:1.7 --- pear/HTML_QuickForm/QuickForm/element.php:1.6 Mon Jul 8 08:32:30 2002 +++ pear/HTML_QuickForm/QuickForm/element.php Tue Jul 23 06:06:34 2002 @@ -17,7 +17,7 @@ // | Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: element.php,v 1.6 2002/07/08 12:32:30 mansion Exp $ +// $Id: element.php,v 1.7 2002/07/23 10:06:34 mansion Exp $ require_once('HTML/Common.php'); @@ -346,7 +346,7 @@ { global $caller; // make it global so we can access it in any of the other methods if needed - $caller = $callerLocal; + $caller =& $callerLocal; $className = get_class($this); switch ($event) { case 'addElement':

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