diff options
Diffstat (limited to 'program/lib/MDB2/Driver')
-rw-r--r-- | program/lib/MDB2/Driver/mssql.php | 2 | ||||
-rw-r--r-- | program/lib/MDB2/Driver/mysql.php | 2 | ||||
-rw-r--r-- | program/lib/MDB2/Driver/mysqli.php | 2 | ||||
-rw-r--r-- | program/lib/MDB2/Driver/pgsql.php | 2 | ||||
-rw-r--r-- | program/lib/MDB2/Driver/sqlite.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/program/lib/MDB2/Driver/mssql.php b/program/lib/MDB2/Driver/mssql.php index 027447b08..46cb78197 100644 --- a/program/lib/MDB2/Driver/mssql.php +++ b/program/lib/MDB2/Driver/mssql.php @@ -911,7 +911,7 @@ class MDB2_Result_mssql extends MDB2_Result_Common if ($object_class == 'stdClass') {
$row = (object) $row;
} else {
- $row = &new $object_class($row);
+ $row = new $object_class($row);
}
}
++$this->rownum;
diff --git a/program/lib/MDB2/Driver/mysql.php b/program/lib/MDB2/Driver/mysql.php index 96210e43b..425d9b219 100644 --- a/program/lib/MDB2/Driver/mysql.php +++ b/program/lib/MDB2/Driver/mysql.php @@ -1393,7 +1393,7 @@ class MDB2_Result_mysql extends MDB2_Result_Common if ($object_class == 'stdClass') { $row = (object) $row; } else { - $row = &new $object_class($row); + $row = new $object_class($row); } } ++$this->rownum; 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; 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;
diff --git a/program/lib/MDB2/Driver/sqlite.php b/program/lib/MDB2/Driver/sqlite.php index c8c485de6..adb5551cb 100644 --- a/program/lib/MDB2/Driver/sqlite.php +++ b/program/lib/MDB2/Driver/sqlite.php @@ -949,7 +949,7 @@ class MDB2_Result_sqlite extends MDB2_Result_Common if ($object_class == 'stdClass') {
$row = (object) $row;
} else {
- $row = &new $object_class($row);
+ $row = new $object_class($row);
}
}
++$this->rownum;
|