Trying to fix the preferences, there are still a few permission bugs

This commit is contained in:
jengo 2000-09-03 13:26:00 +00:00
parent 441e583de2
commit a6ffcf518d

View File

@ -201,7 +201,7 @@
<td><select name="default_app">
<option value="">&nbsp;</option>
<?php
$db_perms = $phpgw->permissions->read_other($phpgw->session->loginid);
$db_perms = $phpgw->accounts->read_apps($phpgw_info["user"]["sessionid"]);
while ($permission = each($db_perms)) {
if ($phpgw_info["apps"][$permission[0]]["enabled"]) {
echo "<option value=\"" . $permission[0] . "\"";