missing paren

This commit is contained in:
Mike Macgirvin 2010-09-08 20:52:43 -07:00
parent 8a87ad9b88
commit f8160ed076
1 changed files with 2 additions and 1 deletions

View File

@ -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