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);
|
$password = hash('whirlpool',$newpass);
|
||||||
$r = q("UPDATE `user` SET `password` = '%s' WHERE `uid` = %d LIMIT 1",
|
$r = q("UPDATE `user` SET `password` = '%s' WHERE `uid` = %d LIMIT 1",
|
||||||
dbesc($password),
|
dbesc($password),
|
||||||
intval(get_uid());
|
intval(get_uid())
|
||||||
|
);
|
||||||
if($r)
|
if($r)
|
||||||
notice( t('Password changed.') . EOL);
|
notice( t('Password changed.') . EOL);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue