From cf626a6236779bdb9ec627f48c0c281eac166b57 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 15 Mar 2008 11:52:02 +0100 Subject: Fix for password updates FS#1352 darcs-hash:20080315105202-7ad00-455d343db7d52a5af92361719bee1d60b6c8107d.gz --- inc/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3