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")); ?>