fix for default apps

This commit is contained in:
skeeter 2000-12-27 22:28:12 +00:00
parent 90771fc094
commit e6a2e46a6f

View File

@ -59,17 +59,17 @@
$phpgw->common->navbar(True);
}
}
} elseif ($cd=="yes" && $phpgw_info["user"]["preferences"]["common"]["default_app"]
&& $phpgw_info["user"]["apps"][$phpgw_info["user"]["preferences"]["common"]["default_app"]]) {
$phpgw->redirect($phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
. $phpgw_info["user"]["preferences"]["common"]["default_app"] . "/"));
$phpgw->common->phpgw_exit();
} else {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
}
if ($cd=="yes" && $phpgw_info["user"]["preferences"]["common"]["default_app"]
&& $phpgw_info["user"]["apps"][$phpgw_info["user"]["preferences"]["common"]["default_app"]]) {
$phpgw->redirect($phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
. $phpgw_info["user"]["preferences"]["common"]["default_app"] . "/"));
$phpgw->common->phpgw_exit();
}
//$phpgw->hooks->proccess("location","mainscreen");