cvs: pear /DB_NestedSet/NestedSet Output.php
| From: | Daniel Khan | Date: | Tue, 25 Oct 2005 23:34:13 +0000 |
| Subject: | cvs: pear /DB_NestedSet/NestedSet Output.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35863@lists.php.net to get a copy of this message | ||
datenpunk Tue Oct 25 19:34:13 2005 EDT
Modified files:
/pear/DB_NestedSet/NestedSet Output.php
Log:
Started to fix Bug #4869 Variable references should be returned
Funny - my php-5.0.5 here doesn't throw anything.
http://cvs.php.net/diff.php/pear/DB_NestedSet/NestedSet/Output.php?r1=1.14&r2=1.15&ty=u
Index: pear/DB_NestedSet/NestedSet/Output.php
diff -u pear/DB_NestedSet/NestedSet/Output.php:1.14 pear/DB_NestedSet/NestedSet/Output.php:1.15
--- pear/DB_NestedSet/NestedSet/Output.php:1.14 Sun Jul 25 07:55:22 2004
+++ pear/DB_NestedSet/NestedSet/Output.php Tue Oct 25 19:34:10 2005
@@ -16,7 +16,7 @@
// | Authors: Daniel Khan <dk@webcluster.at> |
// | Jason Rust <jason@rustyparts.com> |
// +----------------------------------------------------------------------+
-// $Id: Output.php,v 1.14 2004/07/25 11:55:22 datenpunk Exp $
+// $Id: Output.php,v 1.15 2005/10/25 23:34:10 datenpunk Exp $
//
require_once 'PEAR.php';
@@ -64,7 +64,7 @@
*
* @author Daniel Khan <dk@webcluster.at>
* @package DB_NestedSet
-* @version $Revision: 1.14 $
+* @version $Revision: 1.15 $
* @access public
*
*/
@@ -106,7 +106,8 @@
require_once($path);
$driverClass = 'DB_NestedSet_'.$driver;
- return new $driverClass($params);
+ $cls = new $driverClass($params);
+ return $cls;
}
// }}}