summaryrefslogtreecommitdiffstats
path: root/3rdparty/MDB2/Driver/pgsql.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2012-01-13 20:04:59 +0100
committerRobin Appelman <icewind1991@gmail.com>2012-01-13 20:04:59 +0100
commit1b1c4889fc249e8cd27e2c3357868990abb2aa1e (patch)
tree90f6428b8e405cf45d978c787b18bc9ad8ee8e0b /3rdparty/MDB2/Driver/pgsql.php
parent37dbf48434525b008c5201136e38eee1aac16c9b (diff)
downloadnextcloud-server-1b1c4889fc249e8cd27e2c3357868990abb2aa1e.tar.gz
nextcloud-server-1b1c4889fc249e8cd27e2c3357868990abb2aa1e.zip
fix some warning in the pgsql driver
Diffstat (limited to '3rdparty/MDB2/Driver/pgsql.php')
-rw-r--r--3rdparty/MDB2/Driver/pgsql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/MDB2/Driver/pgsql.php b/3rdparty/MDB2/Driver/pgsql.php
index 6108f18dec1..13fea690680 100644
--- a/3rdparty/MDB2/Driver/pgsql.php
+++ b/3rdparty/MDB2/Driver/pgsql.php
@@ -1193,7 +1193,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;