summaryrefslogtreecommitdiff
path: root/program/lib/MDB2/Driver/pgsql.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-10-14 06:55:57 +0000
committeralecpl <alec@alec.pl>2009-10-14 06:55:57 +0000
commitab46578d98853cfddab3bd47456c918feb3584bf (patch)
tree0fe326c0375df2e3def3f97e9263f227e399c854 /program/lib/MDB2/Driver/pgsql.php
parent65c0a0e591d917e87d54f499f9b25da522746aed (diff)
- removed deprecated returning value of new by reference
Diffstat (limited to 'program/lib/MDB2/Driver/pgsql.php')
-rw-r--r--program/lib/MDB2/Driver/pgsql.php2
1 files changed, 1 insertions, 1 deletions
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;