diff --git a/admin/editaccount.php b/admin/editaccount.php index ebb2324df8..090dfbfb11 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -58,8 +58,8 @@ if ($n_passwd) { $phpgw->db->query("update accounts set account_pwd='" . md5($n_passwd) . "', " . "account_lastpwd_change='" . time() . "' where account_lid='" . "$lid'"); - $phpgw->db->query("update sessions set passwd='" . addslashes($n_passwd) - . "' where loginid='$lid'"); + $phpgw->db->query("update sessions set session_pwd='" . addslashes($n_passwd) + . "' where session_lid='$lid'"); } while ($permission = each($new_permissions)) { if ($phpgw_info["apps"][$permission[0]]["enabled"]) { @@ -171,7 +171,7 @@ $perm_display[$i][1] = $permission[1]["title"]; $i++; } - } + } for ($i=0;$i<200;) { // The $i<200 is only used for a brake if (! $perm_display[$i][1]) break; @@ -193,20 +193,6 @@ echo ">"; $i++; } - -/* - echo "" . lang("Anonymous user") . ""; - - echo "" . lang("Manager") . ""; -*/ ?>