mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Just a couple of fixes to the cd variable. It should be a GLOBALS['HTTP_GET_VARS'] var.
This commit is contained in:
parent
e1daedd696
commit
3aaee26209
4
home.php
4
home.php
@ -56,7 +56,7 @@
|
||||
$GLOBALS['phpgw_info']['server']['useframes'] == 'allowed') ||
|
||||
($GLOBALS['phpgw_info']['server']['useframes'] == 'always'))
|
||||
{
|
||||
if ($cd == 'yes')
|
||||
if ($GLOBALS['HTTP_GET_VARS']['cd'] == 'yes')
|
||||
{
|
||||
if (! $navbarframe && ! $framebody)
|
||||
{
|
||||
@ -97,7 +97,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif ($cd=='yes' && $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']
|
||||
elseif ($GLOBALS['HTTP_GET_VARS']['cd']=='yes' && $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']
|
||||
&& $GLOBALS['phpgw_info']['user']['apps'][$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']])
|
||||
{
|
||||
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/' . $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] . '/' . 'index.php'));
|
||||
|
Loading…
Reference in New Issue
Block a user