1
0
mirror of https://github.com/moparisthebest/user_sql synced 2024-11-23 09:32:15 -05:00

Fix password changing (a VERY nasty bug)

This commit is contained in:
Andreas Boehler 2015-08-10 20:26:47 +02:00
parent 3a3934392a
commit b6034665c1

View File

@ -184,7 +184,7 @@ class Helper {
$result = $this -> db -> prepare($query);
foreach($params as $param => $value)
{
$result -> bindParam(":".$param, $value);
$result -> bindValue(":".$param, $value);
}
\OCP\Util::writeLog('OC_USER_SQL', "Executing query...", \OCP\Util::DEBUG);
if(!$result -> execute())
@ -241,4 +241,4 @@ class Helper {
}
}
}