mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +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.
|
// Note: I need to add checks to make sure these apps are installed.
|
||||||
|
|
||||||
if ($cd=="yes" && $phpgw_info["user"]["preferences"]["default_app"]
|
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"] . "/"
|
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
|
||||||
. $phpgw_info["user"]["preferences"]["default_app"]));
|
. $phpgw_info["user"]["preferences"]["default_app"]));
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user