From ab46578d98853cfddab3bd47456c918feb3584bf Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 14 Oct 2009 02:55:57 -0400
Subject: [PATCH] - removed deprecated returning value of new by reference

---
 program/lib/MDB2.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/MDB2.php b/program/lib/MDB2.php
index 762eb06..6615aef 100644
--- a/program/lib/MDB2.php
+++ b/program/lib/MDB2.php
@@ -1926,7 +1926,7 @@
                 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

--
Gitblit v1.9.1