mirror of
https://github.com/moparisthebest/user_sql
synced 2024-11-23 17:42:17 -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);
|
||||
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 {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user