fix for warning Missing argument 2 for egw::redirect()

This commit is contained in:
Klaus Leithoff 2014-02-05 07:56:09 +00:00
parent e2ee7e49b5
commit 443f8d7507

View File

@ -104,7 +104,7 @@ if($app == 'home' && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !
} }
if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates) if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates)
{ {
egw::redirect(egw_framework::index($GLOBALS['egw_info']['user']['preferences']['common']['default_app'])); egw::redirect(egw_framework::index($GLOBALS['egw_info']['user']['preferences']['common']['default_app']),$GLOBALS['egw_info']['user']['preferences']['common']['default_app']);
} }
else else
{ {