mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fixed Stylite or Pixelegg template allways goes to calendar after login
This commit is contained in:
parent
61e98b8149
commit
32c9cb80fd
@ -97,7 +97,7 @@ if(@file_exists($tpl_info))
|
||||
}
|
||||
|
||||
// until home works again, we redirect to default_app from prefs (if set and not home) or calendar, if allowed, or first app found
|
||||
if ($app == 'home')
|
||||
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']);
|
||||
|
Loading…
Reference in New Issue
Block a user