Fixed permissions not being displayed properly

This commit is contained in:
jengo 2000-09-06 22:24:28 +00:00
parent 5b2d194523
commit 43b34b0e97
2 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,8 @@
$phpgw->common->header();
$phpgw->common->navbar();
$phpgw->db->query("select loginid from accounts where con='$con'");
$phpgw->db->next_record();
$db_perms = $phpgw->accounts->read_apps($phpgw->db->f("loginid"));
$phpgw->db->query("select * from accounts where con='$con'");

View File

@ -18,6 +18,8 @@
if (! $con)
Header("Location: " . $phpgw->link("accounts.php"));
$phpgw->db->query("select loginid from accounts where con='$con'");
$phpgw->db->next_record();
$db_perms = $phpgw->accounts->read_apps($phpgw->db->f("loginid"));
$phpgw->db->query("select * from accounts where con='$con'");