fix typo in redirect function call

This commit is contained in:
Klaus Leithoff 2014-02-17 09:31:56 +00:00
parent 64875876ed
commit bedac83bc6

View File

@ -101,7 +101,7 @@ if ($app == 'home' && !($GLOBALS['egw']->framework instanceof jdots_framework))
{
$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']);
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))