forked from extern/egroupware
fix typo in redirect function call
This commit is contained in:
parent
64875876ed
commit
bedac83bc6
@ -101,7 +101,7 @@ if ($app == 'home' && !($GLOBALS['egw']->framework instanceof jdots_framework))
|
|||||||
{
|
{
|
||||||
$app = $GLOBALS['egw_info']['user']['preferences']['common']['default_app'];
|
$app = $GLOBALS['egw_info']['user']['preferences']['common']['default_app'];
|
||||||
if (!$app || $app == 'home') $app = isset($GLOBALS['egw_info']['user']['apps']['calendar']) ? 'calendar' : key($GLOBALS['egw_info']['user']['apps']);
|
if (!$app || $app == 'home') $app = isset($GLOBALS['egw_info']['user']['apps']['calendar']) ? 'calendar' : key($GLOBALS['egw_info']['user']['apps']);
|
||||||
egw::redirect(egw_framework::index($app, $app));
|
egw::redirect(egw_framework::index($app), $app);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($app == 'home' && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile))
|
if($app == 'home' && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile))
|
||||||
|
Loading…
Reference in New Issue
Block a user