summaryrefslogtreecommitdiff
path: root/program/lib/MDB2/Driver/mysqli.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/MDB2/Driver/mysqli.php')
-rw-r--r--program/lib/MDB2/Driver/mysqli.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/MDB2/Driver/mysqli.php b/program/lib/MDB2/Driver/mysqli.php
index 3f8f9611e..8f0379147 100644
--- a/program/lib/MDB2/Driver/mysqli.php
+++ b/program/lib/MDB2/Driver/mysqli.php
@@ -1409,7 +1409,7 @@ class MDB2_Result_mysqli extends MDB2_Result_Common
if ($object_class == 'stdClass') {
$row = (object) $row;
} else {
- $row = &new $object_class($row);
+ $row = new $object_class($row);
}
}
++$this->rownum;