mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Fix for bug #435326.
This commit is contained in:
parent
aff1f64be4
commit
b9671eacfa
@ -436,11 +436,11 @@
|
|||||||
|
|
||||||
if ($phpgw_info['server']['force_theme'] == 'user_choice')
|
if ($phpgw_info['server']['force_theme'] == 'user_choice')
|
||||||
{
|
{
|
||||||
$theme_to_load = $phpgw_info['user']['preferences']['common']['theme'];
|
$theme_to_load = (isset($phpgw_info['user']['preferences']['common']['theme'])?$phpgw_info['user']['preferences']['common']['theme']:'default');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$theme_to_load = $phpgw_info['server']['force_theme'];
|
$theme_to_load = (isset($phpgw_info['server']['force_theme'])?$phpgw_info['server']['force_theme']:'default');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(@file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $theme_to_load . '.theme'))
|
if(@file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $theme_to_load . '.theme'))
|
||||||
|
Loading…
Reference in New Issue
Block a user