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/Driver/pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/MDB2/Driver/pgsql.php') diff --git a/program/lib/MDB2/Driver/pgsql.php b/program/lib/MDB2/Driver/pgsql.php index 24af05655..de27bae7d 100644 --- a/program/lib/MDB2/Driver/pgsql.php +++ b/program/lib/MDB2/Driver/pgsql.php @@ -1188,7 +1188,7 @@ class MDB2_Result_pgsql extends MDB2_Result_Common if ($object_class == 'stdClass') { $row = (object) $row; } else { - $row = &new $object_class($row); + $row = new $object_class($row); } } ++$this->rownum; -- cgit v1.2.3