diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-03-15 11:52:02 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-03-15 11:52:02 +0100 |
commit | cf626a6236779bdb9ec627f48c0c281eac166b57 (patch) | |
tree | 55624e8a9cf37ff401829368fbb6dea2ab926144 | |
parent | deb28ffb867996e1228083a82c905b5979182cae (diff) | |
download | rpg-cf626a6236779bdb9ec627f48c0c281eac166b57.tar.gz rpg-cf626a6236779bdb9ec627f48c0c281eac166b57.tar.bz2 |
Fix for password updates FS#1352
darcs-hash:20080315105202-7ad00-455d343db7d52a5af92361719bee1d60b6c8107d.gz
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 5316ca382..0c005635d 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -656,7 +656,7 @@ function updateprofile() { if ($_POST['fullname'] != $INFO['userinfo']['name'] && $auth->canDo('modName')) $changes['name'] = $_POST['fullname']; if ($_POST['email'] != $INFO['userinfo']['mail'] && $auth->canDo('modMail')) $changes['mail'] = $_POST['email']; - if (!empty($_POST['newpass']) && $auth->canDo['modPass']) $changes['pass'] = $_POST['newpass']; + if (!empty($_POST['newpass']) && $auth->canDo('modPass')) $changes['pass'] = $_POST['newpass']; if (!count($changes)) { |