cvs: pear /Log Log.php

From: Date: Tue, 03 Jan 2006 04:32:16 +0000
Subject: cvs: pear /Log Log.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-37274@lists.php.net to get a copy of this message
jon Tue Jan 3 04:32:16 2006 UTC Modified files: /pear/Log Log.php Log: When creating the Log instance in factory(), return a proper reference to the object. Bug: 5261 http://cvs.php.net/viewcvs.cgi/pear/Log/Log.php?r1=1.52&r2=1.53&diff_format=u Index: pear/Log/Log.php diff -u pear/Log/Log.php:1.52 pear/Log/Log.php:1.53 --- pear/Log/Log.php:1.52 Wed Oct 26 05:46:55 2005 +++ pear/Log/Log.php Tue Jan 3 04:32:15 2006 @@ -1,9 +1,9 @@ <?php /** - * $Header: /repository/pear/Log/Log.php,v 1.52 2005/10/26 05:46:55 jon Exp $ + * $Header: /repository/pear/Log/Log.php,v 1.53 2006/01/03 04:32:15 jon Exp $ * $Horde: horde/lib/Log.php,v 1.15 2000/06/29 23:39:45 jon Exp $ * - * @version $Revision: 1.52 $ + * @version $Revision: 1.53 $ * @package Log */ @@ -127,7 +127,7 @@ /* If the class exists, return a new instance of it. */ if (class_exists($class)) { - $obj = new $class($name, $ident, $conf, $level); + $obj =& new $class($name, $ident, $conf, $level); return $obj; }

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