mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
Fixed permission bug
This commit is contained in:
parent
1f471d7588
commit
25d8af0b61
@ -22,7 +22,7 @@
|
||||
// Note: I need to add checks to make sure these apps are installed.
|
||||
|
||||
if ($cd=="yes" && $phpgw_info["user"]["preferences"]["default_app"]
|
||||
&& $phpgw_info["user"]["permissions"][$phpgw_info["user"]["preferences"]["default_app"]]) {
|
||||
&& $phpgw_info["user"]["apps"][$phpgw_info["user"]["preferences"]["default_app"]]) {
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
|
||||
. $phpgw_info["user"]["preferences"]["default_app"]));
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user