mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
Fixes for mdeans finding if the server has users choice and a users choice has been selected.
This commit is contained in:
parent
8a13e1c52b
commit
ce8528e5c6
@ -643,6 +643,11 @@
|
|||||||
$appname = 'phpgwapi';
|
$appname = 'phpgwapi';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($GLOBALS['phpgw_info']['server']['template_set']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']))
|
||||||
|
{
|
||||||
|
$GLOBALS['phpgw_info']['server']['template_set'] = $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'];
|
||||||
|
}
|
||||||
|
|
||||||
// Setting this for display of template choices in user preferences
|
// Setting this for display of template choices in user preferences
|
||||||
if ($GLOBALS['phpgw_info']['server']['template_set'] == 'user_choice')
|
if ($GLOBALS['phpgw_info']['server']['template_set'] == 'user_choice')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user