diff --git a/admin/viewaccount.php b/admin/viewaccount.php index a555311219..9b85dfbe32 100755 --- a/admin/viewaccount.php +++ b/admin/viewaccount.php @@ -18,10 +18,11 @@ if (! $con) Header("Location: accounts.php?sessionid=" . $phpgw->session->id); + $db_perms = $phpgw->accounts->read_apps($phpgw->db->f("loginid")); + $phpgw->db->query("select * from accounts where con='$con'"); $phpgw->db->next_record(); - $db_perms = $phpgw->permissions->read_other($phpgw->db->f("loginid")); ?>
@@ -71,7 +72,7 @@ "> Groups: groups->read_names($phpgw->db->f("loginid")); + $user_groups = $phpgw->accounts->read_group_names($phpgw->db->f("loginid")); for ($i=0;$i