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
1 changed files with 2 additions and 2 deletions

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 {
}
}
}