mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:43:42 +00:00
missing paren
This commit is contained in:
parent
8a87ad9b88
commit
f8160ed076
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ function settings_post(&$a) {
|
|||
$password = hash('whirlpool',$newpass);
|
||||
$r = q("UPDATE `user` SET `password` = '%s' WHERE `uid` = %d LIMIT 1",
|
||||
dbesc($password),
|
||||
intval(get_uid());
|
||||
intval(get_uid())
|
||||
);
|
||||
if($r)
|
||||
notice( t('Password changed.') . EOL);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue