From ab46578d98853cfddab3bd47456c918feb3584bf Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 14 Oct 2009 06:55:57 +0000 Subject: - removed deprecated returning value of new by reference --- program/lib/MDB2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/MDB2.php') diff --git a/program/lib/MDB2.php b/program/lib/MDB2.php index 762eb068a..6615aef2f 100644 --- a/program/lib/MDB2.php +++ b/program/lib/MDB2.php @@ -1926,7 +1926,7 @@ class MDB2_Driver_Common extends PEAR return $err; } $this->{$property} = new $class_name($this->db_index); - $this->modules[$module] =& $this->{$property}; + $this->modules[$module] = $this->{$property}; if ($version) { // this will be used in the connect method to determine if the module // needs to be loaded with a different version if the server -- cgit v1.2.3