mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Trying to fix the preferences, there are still a few permission bugs
This commit is contained in:
parent
441e583de2
commit
a6ffcf518d
@ -201,7 +201,7 @@
|
||||
<td><select name="default_app">
|
||||
<option value=""> </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] . "\"";
|
||||
|
Loading…
Reference in New Issue
Block a user