aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 9e7a6654e..fbeee7768 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -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