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); $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