mirror of
https://github.com/moparisthebest/user_sql
synced 2024-11-27 11:32:18 -05:00
Fix password changing (a VERY nasty bug)
This commit is contained in:
parent
3a3934392a
commit
b6034665c1
@ -184,7 +184,7 @@ class Helper {
|
|||||||
$result = $this -> db -> prepare($query);
|
$result = $this -> db -> prepare($query);
|
||||||
foreach($params as $param => $value)
|
foreach($params as $param => $value)
|
||||||
{
|
{
|
||||||
$result -> bindParam(":".$param, $value);
|
$result -> bindValue(":".$param, $value);
|
||||||
}
|
}
|
||||||
\OCP\Util::writeLog('OC_USER_SQL', "Executing query...", \OCP\Util::DEBUG);
|
\OCP\Util::writeLog('OC_USER_SQL', "Executing query...", \OCP\Util::DEBUG);
|
||||||
if(!$result -> execute())
|
if(!$result -> execute())
|
||||||
|
Loading…
Reference in New Issue
Block a user