Fixes for mdeans finding if the server has users choice and a users choice has been selected.

This commit is contained in:
skeeter 2001-09-18 03:50:00 +00:00
parent 8a13e1c52b
commit ce8528e5c6

View File

@ -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')
{ {