Fixed permission bug

This commit is contained in:
jengo 2000-09-06 21:20:25 +00:00
parent 1f471d7588
commit 25d8af0b61

View File

@ -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;