missing paren

This commit is contained in:
Mike Macgirvin 2010-09-08 20:52:43 -07:00
parent 8a87ad9b88
commit f8160ed076

View file

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