Skip to content
Snippets Groups Projects
Commit 1e5c3a27 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix in MySQLUserDAO: passed value by reference in the loop

parent 2f8269c3
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ class MySQLUserDAO extends BaseMySQLDAO implements UserDAO { ...@@ -206,7 +206,7 @@ class MySQLUserDAO extends BaseMySQLDAO implements UserDAO {
$stmt = $dbh->prepare($query); $stmt = $dbh->prepare($query);
foreach ($identifiers as $id) { foreach ($identifiers as &$id) {
$stmt->bindParam(':id_' . $id, $id); $stmt->bindParam(':id_' . $id, $id);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment